jQuery – * Selector
The * selector selects all HTML elements in the document, and if used together with another element can be used to select all that element’s child elements.
The * selector selects all HTML elements in the document, and if used together with another element can be used to select all that element’s child elements.
The :animated selector selects all HTML elements that are currently animated.
The [attribute] selector selects every HTML element with the specified attribute.
The [attribute=value] selector selects every element with both the specified attribute and specified value.
The [attribute!=value] selector selects every element with the specific attribute that does NOT have the specified value.
The [attribute$=value] selector selects every element with a specific attribute that has a value ending in a specified string.
The [attribute|=value] selector selects every element with a specific attribute that has a value equal to or starting with a specified value.
The [attribute^=value] selector selects every element with a specific attribute that starts with a value beginning with a specified string.
The [attribute~=value] selector selects every element with a specific attribute that has a value containing a specified stand-alone word.
The [attribute*=value] selector selects every element with a specific attribute that has a value containing a specified string even as part of another word.
The :button selector selects HTML form input elements and button elements with type=”button”.
The :checkbox selector selects HTML form input elements with type=”checkbox”.
The :checked selector selects all checked HTML checkboxes or radio buttons.
The .class selector selects all HTML elements with a specific class, which may include multiple elements on the page.
The :contains() selector selects elements containing a specified string directly within it or indirectly in a child, grandchild, etc. of the element.
The :disabled selector selects all HTML form elements that are disabled.
The element selector selects all HTML elements with a specific element tag name.
The element + next selector selects the very next element specified after (not within) the first specified element.
The element ~ siblings selector selects sibling elements that appear after the specified element. Both of the specified elements must share the same parent.
The :empty selector selects empty HTML elements, which means an element without any child elements or text.