jQuery

manipulation

add

add(selector / html / elements / jQuery Object [, context])

andSelf

andSelf()

end

end()

contents

contents()

collection

map

map(function(index, domElement))

each

each(function(index, element))

check

is(selector)

is(function(index))

is(jQuery Object)

choice

filter

filter(selector)

filter(function(index))

filter(element)

filter(jQuery Object)

not

not(selector)

not(function(index))

not(elements)

eq

eq(index)

first

first()

last

last()

slice

slice(start [, end])

tree

parent

parent

parent([selector])

parents

parents([selector])

parentsUntil

parentsUntil([selector / element/jQueryObject],[filter])

offsetParent

offsetParent()

prev

prev

prev([selector])

prevAll

prevAll([selector])

prevUntil

prevUntil([selector / element/jQueryObject], [filter])

next

next

next([selector])

nextAll

nextAll([selector])

nextUntil

nextUntil([selector / element/jQueryObject])

children

children([selector])

siblings

siblings([selector])

closest

closest([selector/array of selectors] [, context])

closest([element/jQueryObject])

find

find(selector/element/jQueryObject)

has

has(selector / DOM Element)

DOM Manupilation

insertion

outside

after

after(HTMLString/DOMElement/jQueryObject [, content(one or more additional contents to be inserted; jQueryObjects, HTMLStrings,array of DOMElements)])

insertAfter

insertAfter(selector/DOMElement/jQueryObject/HTMLString)

before

insertBefore

inside

append

append(content [, content])

content: HTMLString, DOMElement, jQueryObject

append(function(index, html))

appendTo

appendTo(target)

target: selector, DOMElement, jQueryObject, HTMLString

prepend

prependTo

text

text()

text(TextString)

text(function(i, string))

arround

wrap

wrap(wrapping Element)

wrap(function(index))

wrapAll

wrapAll(wrapping Element)

wrapInner

wrapInner(wrapping Element)

wrapInner(function(index))

replacement

replaceWith

replaceWith(new Content)

replaceWith(function(index))

replaceAll

replaceAll(selector)

copying

clone

clone( [withDataAndEvents] [, deepWithDataAndEvents] )

removal

detach

detach([selector])

remove

remove([selector])

empty

empty()

unwrap

unwrap()

Ajax

Global Ajax Event Handlers

ajaxStart

ajaxStart(handler)

ajaxSend

ajaxSend(handler(data,jqXHR, ajaxOptions))

ajaxSuccess

ajaxSuccess(handler(data,xhr,ajaxOptions))

ajaxError

ajaxError(handler(event, jqXHR, ajaxSettings, thrownError))

ajaxComplete

ajaxComplete(handler(data,xhr,ajaxOptions))

ajaxStop

ajaxStop(handler)

$.get

$.get(url [,data][,success(data, textStatus, jqXHR)[,dataType])

$.post

$.post(url [,data][,success(data, textStatus, jqXHR)[,dataType])

$.getJSON

$.getJSON(url [,data] [,success(data, textStatus, jqXHR)])

$.getScript

$.getScript(url, [,success(data, textStatus)])

load

(url [,data] [,complete(responseText, textStatus, XMLHttpRequest)])

helper

$.param

serialize

selializeArray

Data Storage

data

data()

data(key)

data(key,value)

data(obj)

removeData

removeData([name])

removeData([list])

core

$(selector [, context])

$(element, or elementArray)

$(html [, ownerDocument])

$(html, props)

$(plain or jQuery Object)

selector

basic

*

.class

#id

tagname

selector1, selector2,..., selectorN

hierarchy

ancestor descendant

parent > child

prev + next

prev ~ siblings

filter

attribute

[attr]

[attr="value"]

[attr!="value"]

[attr*="value"]

[attr~="value"]

[attr|="value"]

[attr^="value"]

[attr$="value"]

[attrFilter1][attrFilter2]...[attrFilterN]

content

:contains(text)

:empty

:parent

collection

:first

:last

:odd

:even

:gt

:lt

:eq

child

:first-child

:last-child

:only-child

:nth-child

Note:
1-Indexed(from CSS3 Specification)

Usage:
:nth-child(3)
:nth-child(3n+1)
:nth-child(odd)

visibility

:visible

:hidden

other

:animated

:focus

:header

attributes

class

addClass

addClass(className)

Note:
classname contains one ore more class names
separated by blank

addClass(funnction(index, currentClass))

hasClass

removeClass

toggleClass

toggleClass(className)

toggleClass(className, switch)

toggleClass(switch)

toggleClass(function(index, class,switch) [, switch])

attribute

attr

attr(attrName)

attr(attrName, value)

attr(map)

attr(attrName, function(index, attr))

removeAttr

property

prop

removeProp

html

html()

html(html string)

html(function(index, old html string))

val

val()

val(value)

value(function(index, old value))

CSS

css

css(propName)

css(propName, value)

css(propName, function(index, value))

css(map)

height

height()

height(value)

height(function(index, value))

width

innerHeight

innerHeight()

Note:
contains a element and its padding

innerWidth

outerHeight

outerHeight([include margin])

Note:
contains an element and its padding and border
and also contains its margin if passed true

outerWidth

position

position()

Note:
returns an object containing two properties top and left

offset

offset()

offset(coordinates)

offset(function(index, coordinates))

scrollLeft

scrollLeft()

scrollLeft(value)

scrollTop

event

basic

form

browser

error

shortcut for:
bind('error',handler)

error(handler(eventObject))

error([eventData], handler(eventObject))

resize

shortcut for:
bind('resize', handler)

resize(eventObject)

resize([eventData], handler(eventObject))

resize()

shortcut for:
trigger('resize')

scroll

document loading

load

shortcut for:
bind('load', eventHandler)

load(handler(eventObject))

load([eventData], handler(eventObject))

unload

ready

keyboard

keydown

keyup

Subtopic

mouse