jQuery: comparing two selectors

jQuery: comparing two selectors

I have two selectors selecting single elements, and would like to determine if they select the same element. I'm doing this for the drop() method of a droppable, and have tried passing one selector to the other's is() method to no avail. How do I do this?
    • Topic Participants

    • admin