:focus selector
  • References/JavaScript/jQuery/Selectors

Selects element if it is currently focused. As with other pseudo-class selectors (those that begin

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
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
: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
:not() selector
  • References/JavaScript/jQuery/Selectors

Selects all elements that do not match the given selector. All selectors are accepted inside :not()

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
:only-child selector
  • References/JavaScript/jQuery/Selectors

Selects all elements that are the only child of their parent. If the parent has other child elements

2025-01-10 15:47:30
:only-of-type selector
  • References/JavaScript/jQuery/Selectors

Selects all elements that have no siblings with the same element name. If the parent has other child

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
: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