#2929 closed feature (duplicate)
Comparing DOM elements and/or jQuery objects for equality
Reported by: | pfm102 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | core | Version: | 1.2.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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.
Change History (2)
comment:1 Changed 15 years ago by
comment:2 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This is a dup of #2773 which also has a patch to {{{.is()}}.
Note: See
TracTickets for help on using
tickets.
You can use: