VISUAL CHEAT SHEET
= NEW IN jQUERY 1.4.x / ❉ = DEPRECATED /
SELECTORS ✼ CORE ✼ ATTRIBUTES ✼ CSS ✼ TRAVERSING ✼ MANIPULATION ✼ EVENTS ✼ EFFECTS ✼ AJAX ✼ UTILITIES
a = ARRAY
/ jQ = jQUERY
/
El = ELEMENT
/
0-1 = BOOLEAN
/
Obj = OBJECT
/
NUM = NUMBER
/
Str = STRING
❉ SELECTORS / 1. BASIC All Selector (“*”)
Selects all elements. a
:first Selector
Selects the first matched element.
a
[name$=value]
Selects elements that have the specified attribute with a value ending exactly with a given string. a
:checked Selector
Matches all elements that are checked.
a
.index()
Search for a given element from among the matched elements. Num
:gt() Selector
Select all elements at an index greater than index within the matched set. a
:disabled Selector
Selects all elements that are disabled. a
Class Selector (“.class”)
Matches all elements with the given name.
[name=value]
Selects all elements that are headers, like h1, h2, h3 and so on.
a
.length
The number of elements in the jQuery object.
Num
a
:header Selector a Selects all elements that are headers, like h1, h2, h3 and so on. a
:enabled Selector
Selects all elements that are enabled.
a
Element Selector (“element”)
Selects all elements with the given tag name.
[name!=value]
Select elements that either don't have the specified attribute, or do have the specified attribute but not with a certain value. a
.selector
A selector representing selector originally passed to jQuery().
Str
:file Selector
Selects all elements of type file.
ID Selector (“#id”)
Selects a single element with the given id attribute. a
:last Selector
Selects the last matched element.
a
a
.size() a Return the number of DOM elements matched by the jQuery object.
:lt() Selector
Select all elements at an index less than index within the matched set. a a
[name^=value]
Selects elements that have the specified