Is there are function to see if two elements are the same object?
I have a function which takes a jQuery element as a parameter, and I want to test it against a list of elements to see which one it is. None of the elements necessarily have an ID.
For example: if($obj1 == $obj2) - will that return true if the jquery objects refer to the same element?
Or is there a recommended jQuery method to use for this?