Side navigation
#9379 closed enhancement (duplicate)
Opened May 21, 2011 06:17PM UTC
Closed May 22, 2011 04:18AM UTC
Last modified May 22, 2011 04:18AM UTC
Add overload jQuery([arrayOfjQueryObjects])
Reported by: | winSharp93 | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | 1.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The jQuery method already supports an overload jQuery([arrayOfDOMElements]).
However, passing an array of jQueryElements results in a jQuery-object you can not work with.
See http://jsfiddle.net/jg5hq/1/ for an example - the output of the first alert should be "2" instead of "0".
Thus, I suggest adding an overload jQuery([arrayOfjQueryObjects]).
See solutions in duplicate ticket.