Ticket #2929 (closed feature: duplicate)
Comparing DOM elements and/or jQuery objects for equality
|Reported by:||pfm102||Owned by:|
It would be really useful if jQuery.is could be passed a DOM element, and then returns true if the DOM element is equal to the single DOM element in the jQuery array.
Similarly, it would be handy to be able to do .equals to compare two jQuery arrays.