jQuery Cheet Sheet

See more…..

Ajax

$.ajax( Map )
ajaxComplete( Func )
ajaxError( Func )
ajaxSend( Func )
$.ajaxSetup( Map )
ajaxStart( Func )
ajaxStop( Func )
ajaxSuccess( Func )
$.ajaxTimeout( Num )
$.get( Str, Map, Func )
$.getIfModified( Str, Map, Func )
$.getJSON( Str, Map, Func )
$.getScript( Str, Func )
load( Str, Obj, Func )
loadIfModified( Str, Map, Func )
$.post( Str, Map, Func )
serialize( )

Core

$( Str )
$( Elem|Array<Elem> )
$( Func )
$( Str, Elem | jQuery )
each( Func )
eq( Num )
$.extend( Obj )
get( )
get( Num )
gt( Num )
index( Elem )
length
lt( Num )
$.noConflict( )
size( )

CSS

css( Str )
css( Map )
css( Str, Str | Num )
height( )
height( Str | Num )
width( )
width( Str | Num )

JavaScript

$.browser
$.each( Obj, Func )
$.extend( Obj, Obj, Obj )
$.grep( Array, Func, Boolean )
$.map( Array, Func )
$.merge( Array, Array )
$.trim( Str )

DOM

Attributes
addClass( Str )
attr( Str )
attr( Map )
attr( Str, Obj )
attr( Str, Func )
html( )
html( Str )
removeAttr( Str )
removeClass( Str )
text( )
text( Str )
toggleClass( Str )
val( )
val( Str )
— Manipulation -
after( <Content> )
append( <Content> )
appendTo( <Content> )
before( <Content> )
clone( Boolean )
empty( )
insertAfter( <Content> )
insertBefore( <Content> )
prepend( <Content> )
prependTo( <Content> )
remove( Str )
wrap( Str )
wrap( Elem )
— Traversing -
add( Str )
add( Str )
add( Elem|Array<Elem> )
children( Str )
contains( Str )
end( )
filter( Str )
filter( Func )
find( Str )
is( Str )
next( Str )
not( Elem )
not( Str )
not( jQuery )
parent( Str )
parents( Str )
prev( Str )
siblings( Str )

Events

bind( Str, Obj, Func )
blur( )
blur( Func )
change( Func )
click( )
click( Func )
dblclick( Func )
error( Func )
focus( )
focus( Func )
hover( Func, Func )
keydown( Func )
keypress( Func )
keyup( Func )
load( Func )
mousedown( Func )
mousemove( Func )
mouseout( Func )
mouseover( Func )
mouseup( Func )
one( Str, Obj, Func )
ready( Func )
resize( Func )
scroll( Func )
select( )
select( Func )
submit( )
submit( Func )
toggle( Func, Func )
trigger( Str )
unbind( Str, Func )
unload( Func )

Effects

animate( Hash, Str | Num, Str, Func )
fadeIn( Str | Num, Func )
fadeOut( Str | Num, Func )
fadeTo( Str | Num, Num, Func )
hide( )
hide( Str | Num, Func )
show( )
show( Str | Num, Func )
slideDown( Str | Num, Func )
slideToggle( Str | Num, Func )
slideUp( Str | Num, Func )
toggle( )

DOM

Attributes
addClass( Str )
attr( Str )
attr( Map )
attr( Str, Obj )
attr( Str, Func )
html( )
html( Str )
removeAttr( Str )
removeClass( Str )
text( )
text( Str )
toggleClass( Str )
val( )
val( Str )
— Manipulation
after( <Content> )
append( <Content> )
appendTo( <Content> )
before( <Content> )
clone( Boolean )
empty( )
insertAfter( <Content> )
insertBefore( <Content> )
prepend( <Content> )
prependTo( <Content> )
remove( Str )
wrap( Str )
wrap( Elem )
— Traversing
add( Str )
add( Str )
add( Elem|Array<Elem> )
children( Str )
contains( Str )
end( )
filter( Str )
filter( Func )
find( Str )
is( Str )
next( Str )
not( Elem )
not( Str )
not( jQuery )
parent( Str )
parents( Str )
prev( Str )
siblings( Str )

Events

bind( Str, Obj, Func )
blur( )
blur( Func )
change( Func )
click( )
click( Func )
dblclick( Func )
error( Func )
focus( )
focus( Func )
hover( Func, Func )
keydown( Func )
keypress( Func )
keyup( Func )
load( Func )
mousedown( Func )
mousemove( Func )
mouseout( Func )
mouseover( Func )
mouseup( Func )
one( Str, Obj, Func )
ready( Func )
resize( Func )
scroll( Func )
select( )
select( Func )
submit( )
submit( Func )
toggle( Func, Func )
trigger( Str )
unbind( Str, Func )
unload( Func )

Ajax

$.ajax( Map )
ajaxComplete( Func )
ajaxError( Func )
ajaxSend( Func )
$.ajaxSetup( Map )
ajaxStart( Func )
ajaxStop( Func )
ajaxSuccess( Func )
$.ajaxTimeout( Num )
$.get( Str, Map, Func )
$.getIfModified( Str, Map, Func )
$.getJSON( Str, Map, Func )
$.getScript( Str, Func )
load( Str, Obj, Func )
loadIfModified( Str, Map, Func )
$.post( Str, Map, Func )
serialize( )

Core

$( Str )
$( Elem|Array<Elem> )
$( Func )
$( Str, Elem | jQuery )
each( Func )
eq( Num )
$.extend( Obj )
get( )
get( Num )
gt( Num )
index( Elem )
length
lt( Num )
$.noConflict( )
size( )

CSS

css( Str )
css( Map )
css( Str, Str | Num )
height( )
height( Str | Num )
width( )
width( Str | Num )

Effects

animate( Hash, Str | Num, Str, Func )
fadeIn( Str | Num, Func )
fadeOut( Str | Num, Func )
fadeTo( Str | Num, Num, Func )
hide( )
hide( Str | Num, Func )
show( )
show( Str | Num, Func )
slideDown( Str | Num, Func )
slideToggle( Str | Num, Func )
slideUp( Str | Num, Func )
toggle( )

JavaScript

$.browser
$.each( Obj, Func )
$.extend( Obj, Obj, Obj )
$.grep( Array, Func, Boolean )
$.map( Array, Func )
$.merge( Array, Array )
$.trim( Str )

$( Str )
$( Elem | Array <Elem> )
$( Func )
$( Str, Elem | jQuery )
add(Str )
add(Str )
add(Elem | Array <Elem> )
addClass(Str )
after(<Content> )
$.ajax(Map )
ajaxComplete(Func )
ajaxError(Func )
ajaxSend(Func )
$.ajaxSetup(Map )
ajaxStart(Func )
ajaxStop(Func )
ajaxSuccess(Func )
$.ajaxTimeout(Num )
animate(Hash, Str | Num, Str, Func )
append(<Content> )
appendTo(<Content> )
attr(Str )
attr(Map )
attr(Str, Obj )
attr(Str, Func )
before(<Content> )
bind(Str, Obj, Func )
blur()
blur(Func )
$.browser
change(Func )
children(Str )
click()
click(Func )
clone(Boolean )
contains(Str )
css(Str )
css(Map )
css(Str, Str | Num )
dblclick(Func )
each(Func )
$.each(Obj, Func )
empty()
end()
eq(Num )
error(Func )
$.extend(Obj )
$.extend(Obj, Obj, Obj )
fadeIn(Str | Num, Func )
fadeOut(Str | Num, Func )
fadeTo(Str | Num, Num, Func )
filter(Str )
filter(Func )
find(Str )
focus()
focus(Func )
get()
get(Num )
$.get(Str, Map, Func )
$.getIfModified(Str, Map, Func )
$.getJSON(Str, Map, Func )
$.getScript(Str, Func )
$.grep(Array, Func, Boolean )
gt(Num )
height()
height(Str | Num )
hide()
hide(Str | Num, Func )
hover(Func, Func )
html()
html(Str )
index(Elem )
insertAfter(<Content> )
insertBefore(<Content> )
is(Str )
keydown(Func )
keypress(Func )
keyup(Func )
length
load(Func )
load(Str, Obj, Func )
loadIfModified(Str, Map, Func )
lt(Num )
$.map(Array, Func )
$.merge(Array, Array )
mousedown(Func )
mousemove(Func )
mouseout(Func )
mouseover(Func )
mouseup(Func )
$.noConflict()
not(Elem )
not(Str )
not(jQuery )
one(Str, Obj, Func )
parent(Str )
parents(Str )
$.post(Str, Map, Func )
prepend(<Content> )
prependTo(<Content> )
prev(Str )
ready(Func )
remove(Str )
removeAttr(Str )
removeClass(Str )
resize(Func )
scroll(Func )
select()
select(Func )
serialize()
show()
show(Str | Num, Func )
siblings(Str )
size()
slideDown(Str | Num, Func )
slideToggle(Str | Num, Func )
slideUp(Str | Num, Func )
submit()
submit(Func )
text()
text(Str )
toggle()
toggle(Func, Func )
toggleClass(Str )
trigger(Str )
$.trim(Str )
unbind(Str, Func )
unload(Func )
val()
val(Str )
width()
width(Str | Num )
wrap(Str )
wrap(Elem )

Leave a comment

Please be polite and on topic. Your e-mail will never be published.

You must be logged in to post a comment.