ID selector (“#id”)
  • References/JavaScript/jQuery/Selectors

Selects a single element with the given id attribute. For id selectors, jQuery uses the JavaScript

2025-01-10 15:47:30
:selected selector
  • References/JavaScript/jQuery/Selectors

Selects all elements that are selected. The :selected selector works for <option>

2025-01-10 15:47:30
:nth-last-of-type() selector
  • References/JavaScript/jQuery/Selectors

Selects all the elements that are the nth-child of their parent in relation to siblings with the same element name, counting from the last element to the first.

2025-01-10 15:47:30
:last-child selector
  • References/JavaScript/jQuery/Selectors

Selects all elements that are the last child of their parent. While

2025-01-10 15:47:30
:even selector
  • References/JavaScript/jQuery/Selectors

Selects even elements, zero-indexed. See also odd. In particular, note that the 0-based indexing

2025-01-10 15:47:30
Attribute contains word selector [name~=”value”]
  • References/JavaScript/jQuery/Selectors

Selects elements that have the specified attribute with a value containing a given word, delimited by spaces. This

2025-01-10 15:47:30
:visible selector
  • References/JavaScript/jQuery/Selectors

Selects all elements that are visible. Elements are considered visible if they consume space in

2025-01-10 15:47:30
Multiple attribute selector [name=”value”][name2=”value2″]
  • References/JavaScript/jQuery/Selectors

Matches elements that match all of the specified attribute filters.

2025-01-10 15:47:30
:eq() selector
  • References/JavaScript/jQuery/Selectors

Select the element at index n within the matched set. The index-related selectors (:eq()

2025-01-10 15:47:30
Has attribute selector [name]
  • References/JavaScript/jQuery/Selectors

Selects elements that have the specified attribute, with any value.

2025-01-10 15:47:30