Jquery Cheat Sheet: by Via
Jquery Cheat Sheet: by Via
* All :contain Elements that contain the specified parent > Direct child elements specified
[name~="value"] Contains Word :not(sel Elements that do not match the given prev ~ Sibling elements that follow after
siblings the "prev" element, have the
ector) selector.
[name^="value"] Starts With
same parent, and match the
:nth- Elements that are the nth-child of
[name$="value"] Ends With filtering "siblings" selector.
child() their parent.
[name="value"] Equals :first-child Elements that are the first child
:empty Elements that have no children
[name!="value"] Not Equal of their parent.
(including text nodes).
[name="v"] Multiple Attributes :last-child Elements that are the last child
:even Even elements, zero-indexed.
[name2="v2"] of their parent.
:first The first matched element.
:only-child Elements that are the only child
Controls :header Elements that are headers, like h1, of their parent.
h2, h3 and so on.
:button Button :parent Elements that are the parent of
:last The last matched element. another element, including text
:checkbox Checkbox
:odd Odd elements, zero-indexed. nodes.
:submit Submit
:hidden Hidden