http://api.jquery.com/jQuery.unique/ lets you get only unique elements. Is there I can find out if an element is already in the list or not.
list = $('#container p a');
elem = $('#container div a:first');
Is there a way to find out if elem is already in the list or not.