Version 1.0
All the aspects of the API that were added, or had a new signature added, in the corresponding version of jQuery.
jQuery 1.0 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.
-
jQuery.ajax()
Perform an asynchronous HTTP (Ajax) request.
-
.ajaxComplete()
Register a handler to be called when Ajax requests complete. This is an Ajax Event.
-
.ajaxError()
Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.
-
.ajaxSend()
Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.
-
.ajaxStart()
Register a handler to be called when the first Ajax request begins. This is an Ajax Event.
-
.ajaxStop()
Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.
-
.ajaxSuccess()
Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.
-
All Selector (“*”)
Selects all elements.
-
.animate()
Perform a custom animation of a set of CSS properties.
-
.append()
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
-
.appendTo()
Insert every element in the set of matched elements to the end of the target.
-
.attr()
Get the value of an attribute for the first element in the set of matched elements.
-
Attribute Contains Prefix Selector [name|="value"]
Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-).
-
Attribute Contains Selector [name*="value"]
Selects elements that have the specified attribute with a value containing the a given substring.
-
Attribute Contains Word Selector [name~="value"]
Selects elements that have the specified attribute with a value containing a given word, delimited by spaces.
-
Attribute Ends With Selector [name$="value"]
Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive.
-
Attribute Equals Selector [name="value"]
Selects elements that have the specified attribute with a value exactly equal to a certain value.
-
Attribute Not Equal Selector [name!="value"]
Select elements that either don't have the specified attribute, or do have the specified attribute but not with a certain value.
-
Attribute Starts With Selector [name^="value"]
Selects elements that have the specified attribute with a value beginning exactly with a given string.
-
.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.
-
.blur()
Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.
-
jQuery.boxModel
Deprecated in jQuery 1.3 (see jQuery.support). States if the current page, in the user's browser, is being rendered using the W3C CSS Box Model.
-
jQuery.browser
Contains flags for the useragent, read from navigator.userAgent. We recommend against using this property; please try to use feature detection instead (see jQuery.support). jQuery.browser may be moved to a plugin in a future release of jQuery.
-
:button Selector
Selects all button elements and elements of type button.
-
.change()
Bind an event handler to the "change" JavaScript event, or trigger that event on an element.
-
:checkbox Selector
Selects all elements of type checkbox.
-
:checked Selector
Matches all elements that are checked.
-
child”)" href="../BB9ED53367854ECB9964E72C0113659A/index.htm" rel=bookmark>Child Selector (“parent > child”)
Selects all direct child elements specified by "child" of elements specified by "parent".
-
.children()
Get the children of each element in the set of matched elements, optionally filtered by a selector.
-
Class Selector (“.class”)
Selects all elements with the given class.
-
.click()
Bind an event handler to the "click" JavaScript event, or trigger that event on an element.
-
.clone()
Create a deep copy of the set of matched elements.
-
.css()
Get the value of a style property for the first element in the set of matched elements.
-
.dblclick()
Bind an event handler to the "dblclick" JavaScript event, or trigger that event on an element.
-
Descendant Selector (“ancestor descendant”)
Selects all elements that are descendants of a given ancestor.
-
:disabled Selector
Selects all elements that are disabled.
-
jQuery.each()
A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.
-
.each()
Iterate over a jQuery object, executing a function for each matched element.
-
Element Selector (“element”)
Selects all elements with the given tag name.
-
.empty()
Remove all child nodes of the set of matched elements from the DOM.
-
:empty Selector
Select all elements that have no children (including text nodes).
-
:enabled Selector
Selects all elements that are enabled.
-
.end()
End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.
-
:eq() Selector
Select the element at index
n
within the matched set. -
.error()
Bind an event handler to the "error" JavaScript event.
-
:even Selector
Selects even elements, zero-indexed. See also odd.
-
event.preventDefault()
If this method is called, the default action of the event will not be triggered.
-
event.stopPropagation()
Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.
-
event.target
The DOM element that initiated the event.
-
event.type
Describes the nature of the event.
-
jQuery.extend()
Merge the contents of two or more objects together into the first object.
-
.fadeIn()
Display the matched elements by fading them to opaque.
-
.fadeOut()
Hide the matched elements by fading them to transparent.
-
.fadeTo()
Adjust the opacity of the matched elements.
-
:file Selector
Selects all elements of type file.
-
.filter()
Reduce the set of matched elements to those that match the selector or pass the function's test.
-
.find()
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
-
:first Selector
Selects the first matched element.
-
.focus()
Bind an event handler to the "focus" JavaScript event, or trigger that event on an element.
-
jQuery.get()
Load data from the server using a HTTP GET request.
-
.get()
Retrieve the DOM elements matched by the jQuery object.
-
jQuery.getJSON()
Load JSON-encoded data from the server using a GET HTTP request.
-
jQuery.getScript()
Load a JavaScript file from the server using a GET HTTP request, then execute it.
-
jQuery.grep()
Finds the elements of an array which satisfy a filter function. The original array is not affected.
-
:gt() Selector
Select all elements at an index greater than
index
within the matched set. -
Has Attribute Selector [name]
Selects elements that have the specified attribute, with any value.
-
.height()
Get the current computed height for the first element in the set of matched elements.
-
:hidden Selector
Selects all elements that are hidden.
-
.hide()
Hide the matched elements.
-
.hover()
Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.
-
.html()
Get the HTML contents of the first element in the set of matched elements.
-
ID Selector (“#id”)
Selects a single element with the given id attribute.
-
:image Selector
Selects all elements of type image.
-
.index()
Search for a given element from among the matched elements.
-
:input Selector
Selects all input, textarea, select and button elements.
-
.insertAfter()
Insert every element in the set of matched elements after the target.
-
.insertBefore()
Insert every element in the set of matched elements before the target.
-
.is()
Check the current matched set of elements against a selector, element, or jQuery object and return
true
if at least one of these elements matches the given arguments. -
jQuery()
Accepts a string containing a CSS selector which is then used to match a set of elements.
-
.keydown()
Bind an event handler to the "keydown" JavaScript event, or trigger that event on an element.
-
.keypress()
Bind an event handler to the "keypress" JavaScript event, or trigger that event on an element.
-
.keyup()
Bind an event handler to the "keyup" JavaScript event, or trigger that event on an element.
-
:last Selector
Selects the last matched element.
-
.length
The number of elements in the jQuery object.
-
.load()
Load data from the server and place the returned HTML into the matched element.
-
.load()
Bind an event handler to the "load" JavaScript event.
-
:lt() Selector
Select all elements at an index less than
index
within the matched set. -
jQuery.map()
Translate all items in an array or object to new array of items.
-
jQuery.merge()
Merge the contents of two arrays together into the first array.
-
.mousedown()
Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element.
-
.mouseenter()
Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element.
-
.mouseleave()
Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element.
-
.mousemove()
Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element.
-
.mouseout()
Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element.
-
.mouseover()
Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element.
-
.mouseup()
Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element.
-
Multiple Attribute Selector [name="value"][name2="value2"]
Matches elements that match all of the specified attribute filters.
-
Multiple Selector (“selector1, selector2, selectorN”)
Selects the combined results of all the specified selectors.
-
.next()
Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.
-
Next Adjacent Selector (“prev + next”)
Selects all next elements matching "next" that are immediately preceded by a sibling "prev".
-
Next Siblings Selector (“prev ~ siblings”)
Selects all sibling elements that follow after the "prev" element, have the same parent, and match the filtering "siblings" selector.
-
jQuery.noConflict()
Relinquish jQuery's control of the
$
variable. -
.not()
Remove elements from the set of matched elements.
-
:not() Selector
Selects all elements that do not match the given selector.
-
:odd Selector
Selects odd elements, zero-indexed. See also even.
-
.parent()
Get the parent of each element in the current set of matched elements, optionally filtered by a selector.
-
:parent Selector
Select all elements that are the parent of another element, including text nodes.
-
.parents()
Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.
-
:password Selector
Selects all elements of type password.
-
jQuery.post()
Load data from the server using a HTTP POST request.
-
.prepend()
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
-
.prependTo()
Insert every element in the set of matched elements to the beginning of the target.
-
.prev()
Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector.
-
.pushStack()
Add a collection of DOM elements onto the jQuery stack.
-
:radio Selector
Selects all elements of type radio.
-
.ready()
Specify a function to execute when the DOM is fully loaded.
-
.remove()
Remove the set of matched elements from the DOM.
-
.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.
-
:reset Selector
Selects all elements of type reset.
-
.resize()
Bind an event handler to the "resize" JavaScript event, or trigger that event on an element.
-
.scroll()
Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element.
-
.select()
Bind an event handler to the "select" JavaScript event, or trigger that event on an element.
-
:selected Selector
Selects all elements that are selected.
-
.serialize()
Encode a set of form elements as a string for submission.
-
.show()
Display the matched elements.
-
.siblings()
Get the siblings of each element in the set of matched elements, optionally filtered by a selector.
-
.size()
Return the number of elements in the jQuery object.
-
.slideDown()
Display the matched elements with a sliding motion.
-
.slideToggle()
Display or hide the matched elements with a sliding motion.
-
.slideUp()
Hide the matched elements with a sliding motion.
-
.submit()
Bind an event handler to the "submit" JavaScript event, or trigger that event on an element.
-
:submit Selector
Selects all elements of type submit.
-
.text()
Get the combined text contents of each element in the set of matched elements, including their descendants.
-
:text Selector
Selects all elements of type text.
-
.toggle()
Display or hide the matched elements.
-
.toggle()
Bind two or more handlers to the matched elements, to be executed on alternate clicks.
-
.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.
-
.trigger()
Execute all handlers and behaviors attached to the matched elements for the given event type.
-
jQuery.trim()
Remove the whitespace from the beginning and end of a string.
-
.unbind()
Remove a previously-attached event handler from the elements.
-
.unload()
Bind an event handler to the "unload" JavaScript event.
-
.val()
Get the current value of the first element in the set of matched elements.
-
:visible Selector
Selects all elements that are visible.
-
.width()
Get the current computed width for the first element in the set of matched elements.
-
.wrap()
Wrap an HTML structure around each element in the set of matched elements.