Next adjacent selector (“prev + next”)
  • References/JavaScript/jQuery/Selectors

Selects all next elements matching "next" that are immediately preceded by a sibling "prev". One

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
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
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
: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 starts with selector [name^=”value”]
  • References/JavaScript/jQuery/Selectors

Selects elements that have the specified attribute with a value beginning exactly with a given string. This

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

Select all elements at an index less than index within the matched set. index-related

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
Attribute contains prefix selector [name|=”value”]
  • References/JavaScript/jQuery/Selectors

Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-).

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

Select all elements that have no children (including text nodes). This is the inverse of :parent

2025-01-10 15:47:30