jQuery .toArray()
Learn all about the jQuery function .toArray().
.toArray()
returns all of the elements in the jQuery set:
1
|
|
All of the matched DOM nodes are returned by this call, contained in a standard array:
[<li id="foo">, <li id="bar">]