Version 1.4
All the aspects of the API that were added, or had a new signature added, in the corresponding version of jQuery.
jQuery 1.4 Release Notes.
-
.add()
Add elements to the set of matched elements.
-
.addClass()
Adds the specified class(es) to each of the set of matched elements.
-
.after()
Insert content, specified by the parameter, after each element in the set of matched elements.
-
.append()
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
-
.before()
Insert content, specified by the parameter, before each element in the set of matched elements.
-
.bind()
Attach a handler to an event for the elements.
-
.clearQueue()
Remove from the queue all items that have not yet been run.
-
.closest()
Get the first element that matches the selector, beginning at the current element and progressing up through the DOM tree.
-
jQuery.contains()
Check to see if a DOM element is within another DOM element.
-
.css()
Get the value of a style property for the first element in the set of matched elements.
-
.data()
Store arbitrary data associated with the matched elements.
-
jQuery.data()
Store arbitrary data associated with the specified element. Returns the value that was set.
-
.delay()
Set a timer to delay execution of subsequent items in the queue.
-
.detach()
Remove the set of matched elements from the DOM.
-
.filter()
Reduce the set of matched elements to those that match the selector or pass the function's test.
-
.first()
Reduce the set of matched elements to the first in the set.
-
.focusin()
Bind an event handler to the "focusin" event.
-
.focusout()
Bind an event handler to the "focusout" JavaScript event.
-
.has()
Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.
-
.html()
Get the HTML contents of the first element in the set of matched elements.
-
.index()
Search for a given element from among the matched elements.
-
jQuery.isEmptyObject()
Check to see if an object is empty (contains no properties).
-
jQuery.isPlainObject()
Check to see if an object is a plain object (created using "{}" or "new Object").
-
jQuery()
Accepts a string containing a CSS selector which is then used to match a set of elements.
-
.last()
Reduce the set of matched elements to the final one in the set.
-
.nextUntil()
Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
-
jQuery.noop()
An empty function.
-
.not()
Remove elements from the set of matched elements.
-
.offset()
Get the current coordinates of the first element in the set of matched elements, relative to the document.
-
jQuery.param()
Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request.
-
.parentsUntil()
Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
-
.prepend()
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
-
.prevUntil()
Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
-
jQuery.proxy()
Takes a function and returns a new one that will always have a particular context.
-
.removeAttr()
Remove an attribute from each element in the set of matched elements.
-
.removeClass()
Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
-
.replaceWith()
Replace each element in the set of matched elements with the provided new content.
-
.text()
Get the combined text contents of each element in the set of matched elements, including their descendants.
-
.toArray()
Retrieve all the DOM elements contained in the jQuery set, as an array.
-
.toggleClass()
Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
-
.unwrap()
Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.
-
.val()
Get the current value of the first element in the set of matched elements.
-
.wrap()
Wrap an HTML structure around each element in the set of matched elements.
-
.wrapAll()
Wrap an HTML structure around all elements in the set of matched elements.
-
.wrapInner()
Wrap an HTML structure around the content of each element in the set of matched elements.