JQuery 17 Visual Cheat Sheet v6 - GitHub
jQUERY 1.7
CORE ? SELECTORS ? ATTRIBUTES ? TRAVERSING ? MANIPULATION ? CSS ? EVENTS
EFFECTS ? AJAX ? UTILITIES ? CALLBACKS ? DATA & MISC ? DEFERRED OBJECT
VISUAL CHEAT SHEET
¡ï = NEW OR CHANGED IN jQUERY 1.7 /
Attribute Ends With Selector [name
$="value"]
? CORE
jQuery.holdReady( hold )
u
Holds or releases the execution of jQuery's ready event.
jQuery()
jQ
Accepts a string containing a CSS selector which is then
used to match a set of elements.
Obj
jQ
Creates a new copy of jQuery whose properties and
methods can be modified without affecting the original
jQuery object.
jQuery.when( deferreds )
Provides a way to execute callback functions based on one
or more objects, usually Deferred objects that represent
asynchronous events.
? SELECTORS
Attribute Equals Selector [name="value"]
Attribute Not Equal Selector [name!
="value"]
Relinquish jQuery's control of the $ variable.
jQuery.sub()
Selects elements that have the specified attribute with a
value ending exactly with a given string. The comparison
is case sensitive.
Selects elements that have the specified attribute with a
value exactly equal to a certain value.
jQuery( selector [, context] ) - jQuery( element )
jQuery( object ) - jQuery( elementArray )
jQuery( jQuery object )
jQuery.noConflict( [removeAll] )
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.
pr
0-1 = BOOLEAN
/
Obj = OBJECT
/
NUM = NUMBER
/
Str = STRING
:empty Selector
:last-child Selector
Select all elements that have no children (including text nodes).
Selects all elements that are the last child of their parent.
:enabled Selector
:last Selector
Selects all elements that are enabled.
Selects the last matched element.
:eq() Selector
:lt() Selector
Select the element at index n within the matched set.
Select all elements at an index less than index within the
matched set.
:even Selector
Selects even elements, zero-indexed.
Multiple Attribute Selector [name="value"]
[name2="value2"]
:file Selector
Matches elements that match all of the specified attribute filters.
Selects all elements of type file.
Multiple Selector (¡°selector1, selector2,
selectorN¡±)
:first-child Selector
Selects the combined results of all the specified selectors.
Selects all elements that are the first child of their parent.
:first Selector
Next Adjacent Selector (¡°prev + next¡±)
Next Siblings Selector (¡°prev ~ siblings¡±)
:checkbox Selector
Selects all elements of type checkbox.
:gt() Selector
Selects all sibling elements that follow after the "prev" element,
have the same parent, and match the filtering "siblings"
selector.
:checked Selector
Select all elements at an index greater than index within the
matched set.
Class Selector (¡°.class¡±)
Selects all elements with the given class.
Selects elements that have the specified attribute with a
value containing a given word, delimited by spaces.
/
Selects element if it is currently focused.
Selects all direct child elements specified by "child" of
elements specified by "parent".
Attribute Contains Word Selector
[name~="value"]
El = ELEMENT
:focus selector
:animated Selector
Selects elements that have the specified attribute with a
value containing the a given substring.
/
Selects all button elements and elements of type button.
Child Selector (¡°parent > child¡±)
Attribute Contains Selector
[name*="value"]
/ jQ = jQUERY
Selects all next elements matching "next" that are immediately
preceded by a sibling "prev".
Selects all elements.
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 (-).
a = ARRAY
Selects the first matched element.
Matches all elements that are checked.
Attribute Contains Prefix Selector [name|
="value"]
/
:button Selector
All Selector (¡°*¡±)
Select all elements that are in the progress of an
animation at the time the selector is run.
f(x) = FUNCTION
:contains() Selector
:not() Selector
Selects all elements that do not match the given selector.
Has Attribute Selector [name]
Selects elements that have the specified attribute, with any
value.
:nth-child() Selector
Selects all elements that are the nth-child of their parent.
:has() Selector
:odd Selector
Selects elements which contain at least one element that
matches the specified selector.
Selects odd elements, zero-indexed.
:header Selector
:only-child Selector
Selects all elements that are the only child of their parent.
Selects all elements that are headers, like h1, h2, h3 and so on.
Select all elements that contain the specified text.
:hidden Selector
:parent Selector
Descendant Selector (¡°ancestor
descendant¡±)
Selects all elements that are hidden.
Select all elements that are the parent of another element,
including text nodes.
Selects all elements that are descendants of a given
ancestor.
ID Selector (¡°#id¡±)
:password Selector
Selects a single element with the given id attribute.
Selects all elements of type password.
:image Selector
:radio Selector
Selects all elements of type image.
Selects all elements of type password.
Element Selector (¡°element¡±)
:input Selector
:reset Selector
Selects all elements with the given tag name.
Selects all input, textarea, select and button elements.
Selects all elements of type reset.
:disabled Selector
Selects all elements that are disabled.
jQUERY 1.7
CORE ? SELECTORS ? ATTRIBUTES ? TRAVERSING ? MANIPULATION ? CSS ? EVENTS
EFFECTS ? AJAX ? UTILITIES ? CALLBACKS ? DATA & MISC ? DEFERRED OBJECT
VISUAL CHEAT SHEET
¡ï = NEW OR CHANGED IN jQUERY 1.7 /
f(x) = FUNCTION
:selected Selector
.removeProp( propertyName )
Selects all elements that are selected.
Remove a property for the set of matched elements.
:submit Selector
.toggleClass( className )
Selects all elements of type submit.
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.
jQ
:visible Selector
Selects all elements that are visible.
a = ARRAY
/ jQ = jQUERY
/
El = ELEMENT
/
.filter()
jQ
.addClass()
.val()
Str
Get the current value of the first element in the set of
matched elements.
a()
.val( value ) - .val( function(index, value) )
jQ
N
.andSelf()
Str
Get the value of an attribute for the first element in the set
of matched elements.
jQ
jQ
Get the children of each element in the set of matched
elements, optionally filtered by a selector.
Str
Determine whether any of the matched elements are
assigned the given class.
.html()
Str
Get the HTML contents of the first element in the set of
matched elements.
jQ
.closest()
jQ
Get the first element that matches the selector, beginning
at the current element and progressing up through the
DOM tree.
a()
Str
Get the value of a property for the first element in the set
of matched elements.
jQ
¡ï .removeAttr( attributeName )
jQ
.removeClass()
jQ
jQ
Iterate over a jQuery object, executing a function for each
matched element.
.end()
Remove an attribute from each element in the set of
matched elements.
jQ
Get the children of each element in the set of matched
elements, including text and comment nodes.
.each( function(index, Element) )
.prop( propertyName ) - .prop( propertyName, value )
.eq( index )
.removeClass( [className] )
.removeClass( function(index, class) )
Reduce the set of matched elements to the one at the
specified index.
Str = STRING
.not()
jQ
.has()
jQ
Reduce the set of matched elements to those that have a
descendant that matches the selector or DOM element.
.parentsUntil()
0-1
.last()
Get the immediately preceding sibling of each element in
the set of matched elements, optionally filtered by a
selector.
jQ
Reduce the set of matched elements to the final one in the
set.
.prevAll( [selector] )
jQ
jQ
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.
jQ
jQ
Get all preceding siblings of each element in the set of
matched elements, optionally filtered by a selector.
.prevUntil()
jQ
Get all preceding siblings of each element up to but not
including the element matched by the selector, DOM node,
or jQuery object.
.prevUntil( [selector] [, filter] )
.prevUntil( [element] [, filter] )
jQ
Get all following siblings of each element in the set of
matched elements, optionally filtered by a selector.
.nextUntil( [selector] [, filter] ) - .nextUntil( [element] [,
filter] )
jQ
.parentsUntil( [selector] [, filter] )
.parentsUntil( [element] [, filter] )
.prev( [selector] )
Get all following siblings of each element up to but not
including the element matched by the selector, DOM node,
or jQuery object passed.
jQ
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.
.is( selector ) - .is( function(index) ) - .is( jQuery object )
.is( element )
.next( [selector] )
jQ
jQ
Get the ancestors of each element in the current set of
matched elements, optionally filtered by a selector.
¡ï .is()
jQ
Get the parent of each element in the current set of
matched elements, optionally filtered by a selector.
.parents( [selector] )
.nextUntil()
jQ
jQ
Get the closest ancestor element that is positioned.
Reduce the set of matched elements to the first in the set.
.nextAll( [selector] )
End the most recent filtering operation in the current
chain and return the set of matched elements to its
previous state.
Remove a single class, multiple classes, or all classes from
each element in the set of matched elements.
/
.parent( [selector] )
.find( selector ) - .find( jQuery object ) - .find( element )
Pass each element in the current matched set through a
function, producing a new jQuery object containing the
return values.
.html( htmlString ) - .html( function(index, oldhtml) )
.prop()
jQ
Get the descendants of each element in the current set of
matched elements, filtered by a selector, jQuery object, or
element.
.map( callback(index, domElement) )
.closest( selector ) - .closest( selector [, context] )
.closest( jQuery object ) - .closest( element )
.closest( selectors [ , context ] )
.contents()
NUM = NUMBER
.not( selector ) - .not( elements ) - .not( function(index) )
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.
Add the previous set of elements on the stack to the
current set.
.children( [selector] )
.attr( attributeName ) - .attr( attributeName, value )
/
Remove elements from the set of matched elements.
.has( selector ) - .has( contained )
.add( selector ) - .add( elements ) - .add( html )
.add( jQuery object ) - .add( selector, context )
.addClass( className ) - .addClass( function(index,
currentClass) )
.hasClass( className )
jQ
Add elements to the set of matched elements.
Adds the specified class(es) to each of the set of matched
elements.
.attr()
.add()
Obj = OBJECT
.offsetParent()
.find( selector )
? TRAVERSING
jQ
jQ
/
.filter( selector ) - .filter( function(index) )
.filter( element ) - .filter( jQuery object )
.first()
? ATTRIBUTES
0-1 = BOOLEAN
Reduce the set of matched elements to those that match
the selector or pass the function's test.
:text Selector
Selects all elements of type text.
/
.siblings( [selector] )
jQ
jQ
Get the siblings of each element in the set of matched
elements, optionally filtered by a selector.
.slice( start [, end] )
Reduce the set of matched elements to a subset specified
by a range of indices.
jQ
jQUERY 1.7
CORE ? SELECTORS ? ATTRIBUTES ? TRAVERSING ? MANIPULATION ? CSS ? EVENTS
EFFECTS ? AJAX ? UTILITIES ? CALLBACKS ? DATA & MISC ? DEFERRED OBJECT
VISUAL CHEAT SHEET
¡ï = NEW OR CHANGED IN jQUERY 1.7 /
? MANIPULATION
.hasClass( className )
.addClass()
Determine whether any of the matched elements are
assigned the given class.
jQ
f(x) = FUNCTION
Str
.html()
Str
.addClass( className ) - .addClass( function(index,
currentClass) )
Get the HTML contents of the first element in the set of
matched elements.
jQ
jQ
Insert content, specified by the parameter, after each
element in the set of matched elements.
.append()
jQ
Insert content, specified by the parameter, to the end of
each element in the set of matched elements.
.appendTo( target )
jQ
.attr()
Get the value of an attribute for the first element in the set
of matched elements.
.before()
jQ
.css()
Str
Get the value of a style property for the first element in
the set of matched elements.
jQ
.prepend( content [, content] )
jQ
Remove the set of matched elements from the DOM.
Remove all child nodes of the set of matched elements
from the DOM.
jQ
Int
/
Str = STRING
.val()
Str
Get the current value of the first element in the set of
matched elements.
a()
.val( value ) - .val( function(index, value) )
jQ
.width()
Int
Get the current computed width for the first element in
the set of matched elements.
jQ
.wrapAll( wrappingElement )
jQ
jQ
Wrap an HTML structure around all elements in the set of
matched elements.
jQ
.wrapInner()
Replace each element in the set of matched elements with
the provided new content.
Wrap an HTML structure around the content of each
element in the set of matched elements.
.replaceWith( newContent ) - .replaceWith( function )
.wrapInner( wrappingElement )
.wrapInner( function(index) )
.scrollLeft()
N
.wrap( wrappingElement ) - .wrap( function(index) )
jQ
jQ
Get the current horizontal position of the scroll bar for the
first element in the set of matched elements.
? CSS
.scrollLeft( value )
Int
.scrollTop()
.addClass()
jQ
Get the current vertical position of the scroll bar for the
first element in the set of matched elements.
Obj
.text()
jQ
.css()
Str
Get the combined text contents of each element in the set
of matched elements, including their descendants.
Get the value of a style property for the first element in
the set of matched elements.
jQ
.text( textString ) - .text( function(index, text) )
.css( propertyName ) - .css( propertyName, value )
.css( propertyName, function(index, value) )
.css( map )
jQ
.toggleClass()
jQ
jQ
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.cssHooks
Str
Get the value of a property for the first element in the set
of matched elements.
jQ
.unwrap()
Remove the parents of the set of matched elements from
the DOM, leaving the matched elements in their place.
Obj
Hook directly into jQuery to override how particular CSS
properties are retrieved or set, normalize CSS property
naming, or create custom properties.
.toggleClass( className )
.toggleClass( className, switch )
.prop()
jQ
Adds the specified class(es) to each of the set of matched
elements.
.addClass( className ) - .addClass( function(index,
currentClass) )
.scrollTop value )
Insert every element in the set of matched elements to the
beginning of the target.
.prop( propertyName ) - .prop( propertyName, value )
jQ
Replace each target element with the set of matched
elements.
.replaceWith()
Int
Insert content, specified by the parameter, to the
beginning of each element in the set of matched elements.
.prependTo( target )
.empty()
.replaceAll( target )
Int
.offset( coordinates ) - .offset( function(index, coords) )
Get the current coordinates of the first element in the set
of matched elements, relative to the offset parent.
jQ
Remove a property for the set of matched elements.
Insert every element in the set of matched elements before
the target.
.position()
.detach( [selector] )
Int
Insert every element in the set of matched elements after
the target.
.clone( [withDataAndEvents] )
.clone( [withDataAndEvents] [,deepWithDataAndEvents] )
.css( propertyName ) - .css( propertyName, value )
.css( propertyName, function(index, value) )
.css( map )
NUM = NUMBER
.removeProp( propertyName )
.innerWidth()
Create a deep copy of the set of matched elements.
jQ
jQ
Remove an attribute from each element in the set of
matched elements.
/
Wrap an HTML structure around each element in the set
of matched elements.
Get the current computed height for the first element in
the set of matched elements, including padding, border,
and optionally margin. Returns an integer (without "px")
representation of the value or null if called on an empty
set of elements.
.clone()
.removeAttr( attributeName )
Obj = OBJECT
.wrap()
.outerHeight( [includeMargin] )
.before( content [, content] ) - .before( function )
Str
/
.removeClass( [className] )
.removeClass( function(index, class) )
Int
Get the current coordinates of the first element in the set
of matched elements, relative to the document.
Insert content, specified by the parameter, before each
element in the set of matched elements.
.remove( [selector] )
0-1 = BOOLEAN
.width( value ) - .width( function(index, width) )
.offset()
.attr( attributeName ) - .attr( attributeName, value )
/
.innerHeight()
.insertBefore( target )
jQ
El = ELEMENT
Remove a single class, multiple classes, or all classes from
each element in the set of matched elements.
.insertAfter( target )
Insert every element in the set of matched elements to the
end of the target.
/
.removeClass()
Get the current computed width for the first element in
the set of matched elements, including padding but not
border.
.append( content [, content] )
.append( function(index, html) )
/ jQ = jQUERY
.html( htmlString ) - .html( function(index, oldhtml) )
Get the current computed height for the first element in
the set of matched elements, including padding but not
border.
.after( content [, content] ) - .after( function(index) )
a = ARRAY
Remove the set of matched elements from the DOM.
Adds the specified class(es) to each of the set of matched
elements.
.after()
/
jQ
.hasClass( className )
Determine whether any of the matched elements are
assigned the given class.
Str
jQUERY 1.7
CORE ? SELECTORS ? ATTRIBUTES ? TRAVERSING ? MANIPULATION ? CSS ? EVENTS
EFFECTS ? AJAX ? UTILITIES ? CALLBACKS ? DATA & MISC ? DEFERRED OBJECT
VISUAL CHEAT SHEET
¡ï = NEW OR CHANGED IN jQUERY 1.7 /
.height()
Int
Get the current computed height for the first element in
the set of matched elements.
.toggleClass()
jQ
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.
.height( value )
.height( function(index, height) )
.innerHeight()
f(x) = FUNCTION
.toggleClass( className )
.toggleClass( className, switch )
Int
Get the current computed height for the first element in
the set of matched elements, including padding but not
border.
.width()
/
a = ARRAY
/ jQ = jQUERY
/
El = ELEMENT
/
.die()
Get the current computed width for the first element in
the set of matched elements.
jQ
.offset()
Int
Get the current coordinates of the first element in the set
of matched elements, relative to the document.
jQ
Bind an event handler to the "error" JavaScript event.
Get the current computed height for the first element in
the set of matched elements, including padding, border,
and optionally margin. Returns an integer (without "px")
representation of the value or null if called on an empty
set of elements.
.outerWidth( [includeMargin] )
Int
Obj
jQ
Get the current horizontal position of the scroll bar for the
first element in the set of matched elements.
.scrollTop( value )
Int
.delegate( selector, eventType, handler )
.delegate( selector, eventType, eventData, handler )
.delegate( selector, events )
event.isImmediatePropagationStopped()
event.isPropagationStopped()
jQ
Prevents the event from bubbling up the DOM tree,
preventing any parent handlers from being notified of the
event.
el
el
event.type
0-1
event.which
N
For key or button events, this attribute indicates the
specific button or key that was pressed.
0-1
.focus()
jQ
Bind an event handler to the "focus" JavaScript event, or
trigger that event on an element
0-1
.focus( handler(eventObject) )
.focus( [eventData], handler(eventObject) )
.focusin()
event.pageX
Str
N
.focusout()
N
The other DOM element involved in the event, if any.
.focusout( handler(eventObject) )
.focusout( [eventData], handler(eventObject) )
.hover()
u
If this method is called, the default action of the event will
not be triggered.
event.relatedTarget
jQ
Bind an event handler to the "focusout" JavaScript event.
The mouse position relative to the top edge of the
document.
event.preventDefault()
jQ
Bind an event handler to the "focusin" event.
.focusin( handler(eventObject) )
.focusin( [eventData], handler(eventObject) )
The mouse position relative to the left edge of the
document.
event.pageY
jQ
Str
Describes the nature of the event.
The namespace specified when the event was triggered.
jQ
N
The difference in milliseconds between the time the
browser created the event and January 1, 1970.
Returns whether event.stopPropagation() was ever called
on this event object.
event.namespace
.dblclick( handler(eventObject) )
.dblclick( [eventData], handler(eventObject) )
Attach a handler to one or more events for all elements
that match the selector, now or in the future, based on a
specific set of root elements.
Prevents other event handlers from being called.
event.timeStamp
Returns whether event.stopImmediatePropagation() was
ever called on this event object.
.click( handler(eventObject) )
.click( [eventData], handler(eventObject) )
.delegate()
.scrollLeft( value )
Get the current vertical position of the scroll bar for the
first element in the set of matched elements.
jQ
Bind an event handler to the "dblclick" JavaScript event,
or trigger that event on an element.
Int
Obj
Any
Returns whether event.preventDefault() was ever called
on this event object.
Bind an event handler to the "click" JavaScript event, or
trigger that event on an element.
.dblclick()
event.result
event.target
The element where the currently-called jQuery event
handler was attached.
event.isDefaultPrevented()
.change( handler(eventObject) )
.change( [eventData], handler(eventObject) )
.click()
.removeClass( [className] )
.removeClass( function(index, class) )
.scrollTop()
jQ
Bind an event handler to the "change" JavaScript event,
or trigger that event on an element.
Remove a single class, multiple classes, or all classes from
each element in the set of matched elements.
.scrollLeft()
.change()
jQ
The optional data passed to jQuery.fn.bind when the
current executing handler was bound.
¡ï event.delegateTarget
.blur( handler(eventObject) )
.blur( [eventData], handler(eventObject) )
Get the current coordinates of the first element in the set
of matched elements, relative to the offset parent.
.removeClass()
event.data
jQ
Bind an event handler to the "blur" JavaScript event, or
trigger that event on an element.
Get the current computed width for the first element in
the set of matched elements, including padding and
border.
.position()
.blur()
Str = STRING
The DOM element that initiated the event.
.bind( eventType [, eventData], handler(eventObject) )
.bind( eventType [, eventData], preventBubble )
.bind( events )
Int
/
event.stopPropagation()
The current DOM element within the event bubbling
phase.
Attach a handler to an event for the elements.
.offset( coordinates ) - .offset( function(index, coords) )
.outerHeight( [includeMargin] )
.bind()
NUM = NUMBER
event.stopImmediatePropagation()
event.currentTarget
? EVENTS
/
.die( eventType [, handler] )
.die( eventTypes )
.error( handler(eventObject) )
.error( [eventData], handler(eventObject) )
Int
Get the current computed width for the first element in
the set of matched elements, including padding but not
border.
Obj = OBJECT
The last value returned by an event handler that was
triggered by this event, unless the value was undefined.
.width( value ) - .width( function(index, width) )
.innerWidth()
/
Remove all event handlers previously attached
using .live() from the elements.
.error()
Int
0-1 = BOOLEAN
el
Bind two handlers to the matched elements, to be
executed when the mouse pointer enters and leaves the
elements.
.hover( handlerIn(eventObject)
.handlerOut(eventObject) )
.hover( handlerInOut(eventObject) )
jQ
jQUERY 1.7
CORE ? SELECTORS ? ATTRIBUTES ? TRAVERSING ? MANIPULATION ? CSS ? EVENTS
EFFECTS ? AJAX ? UTILITIES ? CALLBACKS ? DATA & MISC ? DEFERRED OBJECT
VISUAL CHEAT SHEET
¡ï = NEW OR CHANGED IN jQUERY 1.7 /
.keydown()
jQ
f(x) = FUNCTION
.mouseout()
jQ
/
a = ARRAY
/ jQ = jQUERY
/
El = ELEMENT
/
.scroll()
Bind an event handler to the "keydown" JavaScript event,
or trigger that event on an element.
Bind an event handler to the "mouseout" JavaScript
event, or trigger that event on an element.
Bind an event handler to the "scroll" JavaScript event, or
trigger that event on an element.
.keydown( handler(eventObject) )
.keydown( [eventData], handler(eventObject) )
.mouseout( handler(eventObject) )
.mouseout( [eventData], handler(eventObject) )
.scroll( handler(eventObject) )
.scroll( [eventData], handler(eventObject) )
.keypress()
jQ
.mouseover()
Bind an event handler to the "keypress" JavaScript event,
or trigger that event on an element.
Get the current computed width for the first element in
the set of matched elements.
.keypress( handler(eventObject) )
.keypress( [eventData], handler(eventObject) )
.mouseover( handler(eventObject) )
.mouseover( [eventData], handler(eventObject) )
.keyup()
jQ
.mouseup()
Bind an event handler to the "keyup" JavaScript event, or
trigger that event on an element.
Bind an event handler to the "mouseup" JavaScript event,
or trigger that event on an element.
.keyup( handler(eventObject) )
.keyup( [eventData], handler(eventObject) )
.mouseup( handler(eventObject) )
.mouseup( [eventData], handler(eventObject) )
.live()
jQ
¡ï .off()
Attach an event handler for all elements which match the
current selector, now and in the future.
Remove an event handler.
.live( events, handler ) - .live( events, data, handler )
.live( events-map )
.off( events [, selector] [, handler] )
.off( events-map [, selector] )
.load()
jQ
Bind an event handler to the "load" JavaScript event.
.mouseenter()
jQ
jQuery.proxy()
.mouseenter( handler(eventObject) )
.mouseenter( [eventData], handler(eventObject) )
Takes a function and returns a new one that will always
have a particular context.
jQ
.ready( handler )
.mouseleave( handler(eventObject)
.mouseleave( [eventData], handler(eventObject) )
Specify a function to execute when the DOM is fully
loaded.
.mousemove()
jQ
.resize()
Bind an event handler to the "mousemove" JavaScript
event, or trigger that event on an element.
Bind an event handler to the "resize" JavaScript event, or
trigger that event on an element.
.mousemove( handler(eventObject) )
.mousemove( [eventData], handler(eventObject) )
.resize( handler(eventObject) )
.resize( [eventData], handler(eventObject) )
/
NUM = NUMBER
/
Str = STRING
.undelegate()
jQ
.undelegate( selector, eventType )
.undelegate( selector, eventType, handler )
.undelegate( selector, events )
.undelegate( namespace )
.unload()
jQ
Bind an event handler to the "unload" JavaScript event.
.unload( handler(eventObject) )
.unload( [eventData], handler(eventObject) )
jQ
Bind an event handler to the "submit" JavaScript event,
or trigger that event on an element.
? EFFECTS
.submit( handler(eventObject) )
.submit( [eventData], handler(eventObject) )
.animate()
jQ
Bind two or more handlers to the matched elements, to be
executed on alternate clicks.
jQ
.animate( properties [, duration] [, easing] [, complete] )
.animate( properties, options )
.clearQueue( [queueName] )
handler(eventObject), handler(eventObject) [,
handler(eventObject)]
.trigger()
jQ
jQ
Perform a custom animation of a set of CSS properties.
.toggle()
jQ
Remove from the queue all items that have not yet been
run.
jQ
.delay( duration [, queueName] )
Execute all handlers and behaviors attached to the
matched elements for the given event type.
Set a timer to delay execution of subsequent items in the
queue.
.trigger( eventType, extraParameters )
.trigger( event )
.dequeue( [queueName] )
jQ
jQ
Execute the next function on the queue for the matched
elements.
.triggerHandler()
jQ
.fadeIn()
Execute all handlers attached to an element for an event.
jQ
.unbind()
.fadeIn( [duration] [, callback] )
.fadeIn( [duration] [, easing] [, callback] )
jQ
.fadeOut()
Remove a previously-attached event handler from the
elements.
jQ
.undelegate()
Remove a handler from the event for all elements which
match the current selector, based upon a specific set of
root elements.
.undelegate( selector, eventType )
.undelegate( selector, eventType, handler )
.undelegate( selector, events )
.undelegate( namespace )
jQ
Hide the matched elements by fading them to
transparent.
.unbind( [eventType] [, handler(eventObject)] )
.unbind( eventType, false )
jQ
jQ
Display the matched elements by fading them to opaque.
.triggerHandler( eventType, extraParameters )
jQuery.proxy( function, context )
jQuery.proxy( context, name )
Bind an event handler to be fired when the mouse leaves
an element, or trigger that handler on an element.
jQ
jQ
.one( events [, data], handler )
.one( events [, selector] [, data], handler )
.one( events-map [, selector] [, data] )
Bind an event handler to be fired when the mouse enters
an element, or trigger that handler on an element.
.mouseleave()
.submit()
Attach a handler to an event for the elements. The
handler is executed at most once per element.
.mousedown( handler(eventObject) )
.mousedown( [eventData], handler(eventObject) )
Obj = OBJECT
jQ
jQ
.one()
/
Remove a handler from the event for all elements which
match the current selector, based upon a specific set of
root elements.
.select( handler(eventObject) )
.select( [eventData], handler(eventObject) )
.on( events [, selector] [, data], handler )
.on( events-map [, selector] [, data] )
Bind an event handler to the "mousedown" JavaScript
event, or trigger that event on an element.
.select()
jQ
Bind an event handler to the "select" JavaScript event, or
trigger that event on an element.
Attach an event handler function for one or more events
to the selected elements.
.load( handler(eventObject) )
.load( [eventData], handler(eventObject) )
.mousedown()
¡ï .on()
jQ
0-1 = BOOLEAN
.fadeOut( [duration] [, callback] )
.fadeOut( [duration] [, easing] [, callback] )
jQ
.fadeTo()
jQ
Adjust the opacity of the matched elements.
.fadeTo( duration, opacity [, callback] )
.fadeTo( duration, opacity [, easing] [, callback] )
.fadeToggle( [duration] [, easing] [,
callback] )
Display or hide the matched elements by animating their
opacity.
jQ
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- javascript jquery and ajax university of western australia
- jquery 17 visual cheat sheet v6 github
- html css bootstrap javascript and jquery read the docs
- beginner s essential jquery cheat sheet websitesetup
- jq u e r y q u i z i github pages
- using jquery
- jquery 1 5 visual cheat sheet v2
- jquery degree college of physical education
- declare string array in jquery
- jquery ui library
Related searches
- cheat sheet for word brain game
- macro cheat sheet pdf
- logarithm cheat sheet pdf
- excel formula cheat sheet pdf
- excel formulas cheat sheet pdf
- excel cheat sheet 2016 pdf
- vba programming cheat sheet pdf
- macro cheat sheet food
- free excel cheat sheet download
- onenote cheat sheet pdf
- punctuation rules cheat sheet pdf
- excel formula cheat sheet printable