JavaScript - - By Sam Deering

jquery convert object to array

Some options for converting a jQuery object into an array. Also you can use a jQuery object much like an array. For example:

obj = $(‘p’); // Get all paragraphs into a jQuery object
for (i = 0; i http://api.jquery.com/jQuery.makeArray/

Sponsors