Version 1.0
-
jQuery .toggle( Boolean showOrHide )
Display or hide the matched elements.
-
event.stopPropagation( )
Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.
-
undefined event.preventDefault( )
If this method is called, the default action of the event will not be triggered.
-
Element event.target
The DOM element that initiated the event.
-
String event.type
Describes the nature of the event.
-
jQuery .each( Function function(index, Element) )
Iterate over a jQuery object, executing a function for each matched element.
-
jQuery .pushStack( Array elements, String name, Array arguments )
Add a collection of DOM elements onto the jQuery stack.
-
jQuery .keydown( )
Bind an event handler to the "keydown" JavaScript event, or trigger that event on an element.
-
Number .index( Element | jQuery element )
Search for a given element from among the matched elements.
-
Element, Array .get( Number index )
Retrieve the DOM elements matched by the jQuery object.
-
Number .size( )
Return the number of elements in the jQuery object.
-
Object jQuery.noConflict( Boolean removeAll )
Relinquish jQuery's control of the
$
variable. -
JQuery(":selected")
Selects all elements that are selected.
-
JQuery(":checked")
Matches all elements that are checked.
-
JQuery(":disabled")
Selects all elements that are disabled.
-
JQuery(":enabled")
Selects all elements that are enabled.
-
JQuery(":file")
Selects all elements of type file.
-
JQuery(":button")
Selects all button elements and elements of type button.
-
JQuery(":reset")
Selects all elements of type reset.
-
JQuery(":image")
Selects all elements of type image.
-
jQuery .submit( )
Bind an event handler to the "submit" JavaScript event, or trigger that event on an element.
-
JQuery(":checkbox")
Selects all elements of type checkbox.
-
JQuery(":radio")
Selects all elements of type radio.
-
JQuery(":password")
Selects all elements of type password.
-
jQuery .text( Function function(index, text) )
Set the content of each element in the set of matched elements to the specified text.
-
JQuery(":input")
Selects all input, textarea, select and button elements.
-
JQuery("[attribute|="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 (-).
-
JQuery("[attribute~="value"]")
Selects elements that have the specified attribute with a value containing a given word, delimited by spaces.
-
JQuery("[attributeFilter1][attributeFilter2][attributeFilterN]")
Matches elements that match all of the specified attribute filters.
-
JQuery("[attribute*="value"]")
Selects elements that have the specified attribute with a value containing the a given substring.
-
JQuery("[attribute$="value"]")
Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive.
-
JQuery("[attribute^="value"]")
Selects elements that have the specified attribute with a value beginning exactly with a given string.
-
JQuery("[attribute!="value"]")
Select elements that either don't have the specified attribute, or do have the specified attribute but not with a certain value.
-
JQuery("[attribute="value"]")
Selects elements that have the specified attribute with a value exactly equal to a certain value.
-
JQuery("[attribute]")
Selects elements that have the specified attribute, with any value.
-
JQuery(":visible")
Selects all elements that are visible.
-
JQuery(":hidden")
Selects all elements that are hidden.
-
jQuery .parent( Selector selector )
Get the parent of each element in the current set of matched elements, optionally filtered by a selector.
-
jQuery .empty( )
Remove all child nodes of the set of matched elements from the DOM.
-
JQuery(":lt(index)")
Select all elements at an index less than
index
within the matched set. -
JQuery(":gt(index)")
Select all elements at an index greater than
index
within the matched set. -
JQuery(":eq(index)")
Select the element at index
n
within the matched set. -
JQuery(":odd")
Selects odd elements, zero-indexed. See also even.
-
JQuery(":even")
Selects even elements, zero-indexed. See also odd.
-
jQuery .not( Function function(index) )
Remove elements from the set of matched elements.
-
JQuery(":last")
Selects the last matched element.
-
JQuery(":first")
Selects the first matched element.
-
JQuery("prev ~ siblings")
Selects all sibling elements that follow after the "prev" element, have the same parent, and match the filtering "siblings" selector.
-
JQuery("prev + next")
Selects all next elements matching "next" that are immediately preceded by a sibling "prev".
-
child")" rel="bookmark">JQuery("parent > child")
Selects all direct child elements specified by "child" of elements specified by "parent".
-
JQuery("ancestor descendant")
Selects all elements that are descendants of a given ancestor.
-
JQuery("selector1, selector2, selectorN")
Selects the combined results of all the specified selectors.
-
JQuery("*")
Selects all elements.
-
JQuery(".class")
Selects all elements with the given class.
-
JQuery("element")
Selects all elements with the given tag name.
-
JQuery("#id")
Selects a single element with the given id attribute.
-
jQuery .scroll( )
Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element.
-
jQuery .resize( )
Bind an event handler to the "resize" JavaScript event, or trigger that event on an element.
-
jQuery .keyup( )
Bind an event handler to the "keyup" JavaScript event, or trigger that event on an element.
-
jQuery .keypress( )
Bind an event handler to the "keypress" JavaScript event, or trigger that event on an element.
-
jQuery .select( )
Bind an event handler to the "select" JavaScript event, or trigger that event on an element.
-
jQuery .change( )
Bind an event handler to the "change" JavaScript event, or trigger that event on an element.
-
jQuery .blur( )
Bind an event handler to the "blur" JavaScript event, or trigger that event on an element.
-
jQuery .focus( )
Bind an event handler to the "focus" JavaScript event, or trigger that event on an element.
-
jQuery .mousemove( )
Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element.
-
jQuery .hover( Function handlerInOut(eventObject) )
Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements.
-
jQuery .mouseleave( )
Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element.
-
jQuery .mouseenter( )
Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element.
-
jQuery .mouseout( )
Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element.
-
jQuery .mouseover( )
Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element.
-
jQuery .dblclick( )
Bind an event handler to the "dblclick" JavaScript event, or trigger that event on an element.
-
jQuery .click( )
Bind an event handler to the "click" JavaScript event, or trigger that event on an element.
-
jQuery .mouseup( )
Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element.
-
jQuery .mousedown( )
Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element.
-
jQuery .error( Object eventData, Function handler(eventObject) )
Bind an event handler to the "error" JavaScript event.
-
jQuery .unload( Object eventData, Function handler(eventObject) )
Bind an event handler to the "unload" JavaScript event.
-
jQuery .load( String url, Map | String data, Function complete(responseText, textStatus, XMLHttpRequest) )
Load data from the server and place the returned HTML into the matched element.
-
jQuery .ready( Function handler )
Specify a function to execute when the DOM is fully loaded.
-
Map 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.
-
String jQuery.browser.version
The version number of the rendering engine for the user's browser.
-
jQuery .trigger( Event event )
Execute all handlers and behaviors attached to the matched elements for the given event type.
-
jQuery .ajaxComplete( Function handler(event, XMLHttpRequest, ajaxOptions) )
Register a handler to be called when Ajax requests complete. This is an Ajax Event.
-
String .serialize( )
Encode a set of form elements as a string for submission.
-
jQuery .ajaxSuccess( Function handler(event, XMLHttpRequest, ajaxOptions) )
Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.
-
jQuery .ajaxStop( Function handler() )
Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.
-
jQuery .ajaxStart( Function handler() )
Register a handler to be called when the first Ajax request begins. This is an Ajax Event.
-
jQuery .ajaxSend( Function handler(event, jqXHR, ajaxOptions) )
Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.
-
jQuery .ajaxError( Function handler(event, jqXHR, ajaxSettings, thrownError) )
Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.
-
jQuery .unbind( Object event )
Remove a previously-attached event handler from the elements.
-
jQuery .bind( Object events )
Attach a handler to an event for the elements.
-
jQuery jQuery( Function callback )
Binds a function to be executed when the DOM has finished loading.
-
jQuery .end( )
End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.
-
jQuery .siblings( Selector selector )
Get the siblings of each element in the set of matched elements, optionally filtered by a selector.
-
jQuery .animate( Map properties, Map options )
Perform a custom animation of a set of CSS properties.
-
jQuery .prev( Selector selector )
Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector.
-
jQuery .fadeTo( String,Number duration, Number opacity, String easing, Callback callback )
Adjust the opacity of the matched elements.
-
jQuery .fadeOut( String,Number duration, String easing, Callback callback )
Hide the matched elements by fading them to transparent.
-
jQuery .parents( Selector selector )
Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.
-
jQuery .fadeIn( String,Number duration, String easing, Callback callback )
Display the matched elements by fading them to opaque.
-
jQuery .slideToggle( String,Number duration, String easing, Callback callback )
Display or hide the matched elements with a sliding motion.
-
jqXHR jQuery.post( String url, Map | String data, Function success(data, textStatus, jqXHR), String dataType )
Load data from the server using a HTTP POST request.
-
jQuery .slideUp( String,Number duration, String easing, Callback callback )
Hide the matched elements with a sliding motion.
-
jQuery .next( Selector selector )
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.
-
jQuery .slideDown( String,Number duration, String easing, Callback callback )
Display the matched elements with a sliding motion.
-
jQuery .find( Element element )
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
-
jqXHR jQuery.getScript( String url, Function success(data, textStatus) )
Load a JavaScript file from the server using a GET HTTP request, then execute it.
-
jqXHR jQuery.getJSON( String url, Map data, Function success(data, textStatus, jqXHR) )
Load JSON-encoded data from the server using a GET HTTP request.
-
jqXHR jQuery.get( String url, Map | String data, Function success(data, textStatus, jqXHR), String dataType )
Load data from the server using a HTTP GET request.
-
jqXHR jQuery.ajax( Map settings )
Perform an asynchronous HTTP (Ajax) request.
-
Number length
The number of elements in the jQuery object.
-
jQuery .children( Selector selector )
Get the children of each element in the set of matched elements, optionally filtered by a selector.
-
jQuery .add( Selector selector, Element context )
Add elements to the set of matched elements.
-
jQuery .hide( String,Number duration, String easing, Callback callback )
Hide the matched elements.
-
jQuery .width( Function function(index, width) )
Set the CSS width of each element in the set of matched elements.
-
jQuery .height( Function function(index, height) )
Set the CSS height of every matched element.
-
jQuery .show( String,Number duration, String easing, Callback callback )
Display the matched elements.
-
String jQuery.trim( String str )
Remove the whitespace from the beginning and end of a string.
-
Array jQuery.merge( Array first, Array second )
Merge the contents of two arrays together into the first array.
-
Array jQuery.map( Array,Object arrayOrObject, Function callback( value, indexOrKey ) )
Translate all items in an array or object to new array of items.
-
Array jQuery.grep( Array array, Function function(elementOfArray, indexInArray), Boolean invert )
Finds the elements of an array which satisfy a filter function. The original array is not affected.
-
Object jQuery.extend( Boolean deep, Object target, Object object1, Object objectN )
Merge the contents of two or more objects together into the first object.
-
Object jQuery.each( Object collection, Function callback(indexInArray, valueOfElement) )
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.
-
Boolean 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 .css( Map map )
Set one or more CSS properties for the set of matched elements.
-
jQuery .clone( Boolean withDataAndEvents, Boolean deepWithDataAndEvents )
Create a deep copy of the set of matched elements.
-
jQuery .remove( String selector )
Remove the set of matched elements from the DOM.
-
jQuery .wrap( Function function(index) )
Wrap an HTML structure around each element in the set of matched elements.
-
jQuery .insertBefore( Selector | Element | jQuery target )
Insert every element in the set of matched elements before the target.
-
jQuery .before( Function function )
Insert content, specified by the parameter, before each element in the set of matched elements.
-
jQuery .insertAfter( Selector | Element | jQuery target )
Insert every element in the set of matched elements after the target.
-
jQuery .after( Function function(index) )
Insert content, specified by the parameter, after each element in the set of matched elements.
-
jQuery .prependTo( Selector | Element | jQuery target )
Insert every element in the set of matched elements to the beginning of the target.
-
jQuery .prepend( Function function(index, html) )
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
-
jQuery .appendTo( Selector | Element | jQuery target )
Insert every element in the set of matched elements to the end of the target.
-
jQuery .append( Function function(index, html) )
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
-
jQuery .val( Function function(index, value) )
Set the value of each element in the set of matched elements.
-
jQuery .html( Function function(index, oldhtml) )
Set the HTML contents of each element in the set of matched elements.
-
Boolean .is( Element element )
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 .filter( Object jQuery object )
Reduce the set of matched elements to those that match the selector or pass the function's test.
-
jQuery .toggleClass( Function function(index, class, switch), Boolean switch )
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.
-
jQuery .removeClass( Function function(index, class) )
Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
-
jQuery .removeAttr( String attributeName )
Remove an attribute from each element in the set of matched elements.
-
jQuery .attr( String attributeName, Function function(index, attr) )
Set one or more attributes for the set of matched elements.
-
jQuery .addClass( Function function(index, currentClass) )
Adds the specified class(es) to each of the set of matched elements.