Skip to main content

Bug Tracker

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]).

Attachments (0)
Change History (2)

Changed May 22, 2011 04:18AM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

See solutions in duplicate ticket.

Changed May 22, 2011 04:18AM UTC by dmethvin comment:2

Duplicate of #9011.