This page documents data types appearing in jQuery function signatures, whether defined by JavaScript itself or further restricted by jQuery. Unless explicitly stated otherwise, jQuery functions require primitive values where applicable, and do not accept their Object-wrapped forms. If you want to study these concepts in depth, take a look at MDN. You should be … Continue reading →
Return a collection of matched elements either found in the DOM based on passed argument(s) or created by passing an HTML string.
Attach an event handler function for one or more events to the selected elements.
Perform an asynchronous HTTP (Ajax) request.
Attach a handler to an event for the elements.
Get the value of a computed style property for the first element in the set of matched elements or set one or more CSS properties for every matched element.
Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
Store arbitrary data associated with the specified element and/or return the value that was set.
Insert content, specified by the parameter, after each element in the set of matched elements.
Remove elements from the set of matched elements.
For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
Create a new jQuery object with elements added to the set of matched elements.
Search for a given element from among the matched elements.
Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
Insert content, specified by the parameter, before each element in the set of matched elements.
Get the current value of the first element in the set of matched elements or set the value of every matched element.
Reduce the set of matched elements to a subset specified by a range of indices.
Perform a custom animation of a set of CSS properties.
Remove the set of matched elements from the DOM.
Get the value of an attribute for the first element in the set of matched elements or set one or more attributes for every matched element.