jQuery Array Methods

Last Updated:

jQuery Array Methods

The following are the list of Array methods available in jQuery.

MethodExplanation
each() Iterates over a jQuery object, executing a function for each matched element.
grep() Finds the elements of an array which satisfy a filter function.
isArray() Determines whether the argument is an array.
inArray() Searches for a specified value within an array and return its index.
makeArray() Converts an array-like object into a true JavaScript array.
map() Processes all items in an array or object to new array of items.
merge() Merges the contents of two arrays together into the first array.
serializeArray() Encodes a set of form elements as an array of objects (names and values).
toArray() Retrieves all the elements contained in the jQuery set, as an array.

Share this Page

Meet the Author