jQuery logojQuery API Documentation

  • Home
  • API Documentation
  • CDN
  • Plugins
  • Browser Support

Categories: jQuery Extensions


jQuery has extended the CSS3 selectors with the following selectors. Because these selectors are jQuery extension and not part of the CSS specification, queries using them cannot take advantage of the performance boost provided by the native DOM querySelectorAll() method. To achieve the best performance when using these selectors, first select some elements using a pure CSS selector, then use .filter().
Selectors > Basic Filter | Selectors > jQuery Extensions

:animated Selector

Select all elements that are in the progress of an animation at the time the selector is run.
Selectors > Attribute | Selectors > jQuery Extensions

Attribute Not Equal Selector [name!="value"]

Select elements that either don't have the specified attribute, or do have the specified attribute but not with a certain value.
Selectors > Form | Selectors > jQuery Extensions

:button Selector

Selects all button elements and elements of type button.
Selectors > Form | Selectors > jQuery Extensions

:checkbox Selector

Selects all elements of type checkbox.
Selectors > Basic Filter | Selectors > jQuery Extensions

:eq() Selector

Select the element at index n within the matched set.
Selectors > Basic Filter | Selectors > jQuery Extensions

:even Selector

Selects even elements, zero-indexed. See also odd.
Selectors > Form | Selectors > jQuery Extensions

:file Selector

Selects all elements of type file.
Selectors > Basic Filter | Selectors > jQuery Extensions

:first Selector

Selects the first matched DOM element.
Selectors > Basic Filter | Selectors > jQuery Extensions

:gt() Selector

Select all elements at an index greater than index within the matched set.
Selectors > Content Filter | Selectors > jQuery Extensions

:has() Selector

Selects elements which contain at least one element that matches the specified selector.
Selectors > Basic Filter | Selectors > jQuery Extensions

:header Selector

Selects all elements that are headers, like h1, h2, h3 and so on.
Selectors > jQuery Extensions | Selectors > Visibility Filter

:hidden Selector

Selects all elements that are hidden.
Selectors > Form | Selectors > jQuery Extensions

:image Selector

Selects all elements of type image.
Selectors > Form | Selectors > jQuery Extensions

:input Selector

Selects all input, textarea, select and button elements.
Selectors > Basic Filter | Selectors > jQuery Extensions

:last Selector

Selects the last matched element.
Selectors > Basic Filter | Selectors > jQuery Extensions

:lt() Selector

Select all elements at an index less than index within the matched set.
Selectors > Basic Filter | Selectors > jQuery Extensions

:odd Selector

Selects odd elements, zero-indexed. See also even.
Selectors > Content Filter | Selectors > jQuery Extensions

:parent Selector

Select all elements that have at least one child node (either an element or text).
Selectors > Form | Selectors > jQuery Extensions

:password Selector

Selects all elements of type password.
Selectors > Form | Selectors > jQuery Extensions

:radio Selector

Selects all elements of type radio.
Selectors > Form | Selectors > jQuery Extensions

:reset Selector

Selects all elements of type reset.
Selectors > Form | Selectors > jQuery Extensions

:selected Selector

Selects all elements that are selected.
Selectors > Form | Selectors > jQuery Extensions

:submit Selector

Selects all elements of type submit.
Selectors > Form | Selectors > jQuery Extensions

:text Selector

Selects all input elements of type text.
Selectors > jQuery Extensions | Selectors > Visibility Filter

:visible Selector

Selects all elements that are visible.
  • Ajax
    • Global Ajax Event Handlers
    • Helper Functions
    • Low-Level Interface
    • Shorthand Methods
  • Attributes
  • Callbacks Object
  • Core
  • CSS
  • Data
  • Deferred Object
  • Deprecated
    • Deprecated 1.3
    • Deprecated 1.4
    • Deprecated 1.7
    • Deprecated 1.8
    • Deprecated 1.9
    • Deprecated 1.10
    • Deprecated 3.0
    • Deprecated 3.3
  • Dimensions
  • Effects
    • Basics
    • Custom
    • Fading
    • Sliding
  • Events
    • Browser Events
    • Document Loading
    • Event Handler Attachment
    • Event Object
    • Form Events
    • Keyboard Events
    • Mouse Events
  • Forms
  • Internals
  • Manipulation
    • Class Attribute
    • Copying
    • DOM Insertion
    • DOM Insertion, Around
    • DOM Insertion, Inside
    • DOM Insertion, Outside
    • DOM Removal
    • DOM Replacement
    • General Attributes
    • Style Properties
  • Miscellaneous
    • Collection Manipulation
    • Data Storage
    • DOM Element Methods
    • Setup Methods
  • Offset
  • Properties
    • Properties of jQuery Object Instances
    • Properties of the Global jQuery Object
  • Removed
  • Selectors
    • Attribute
    • Basic
    • Basic Filter
    • Child Filter
    • Content Filter
    • Form
    • Hierarchy
    • jQuery Extensions
    • Visibility Filter
  • Traversing
    • Filtering
    • Miscellaneous Traversing
    • Tree Traversal
  • Uncategorized
  • Utilities
  • Version
    • Version 1.0
    • Version 1.0.4
    • Version 1.1
    • Version 1.1.2
    • Version 1.1.3
    • Version 1.1.4
    • Version 1.2
    • Version 1.2.3
    • Version 1.2.6
    • Version 1.3
    • Version 1.4
    • Version 1.4.1
    • Version 1.4.2
    • Version 1.4.3
    • Version 1.4.4
    • Version 1.5
    • Version 1.5.1
    • Version 1.6
    • Version 1.7
    • Version 1.8
    • Version 1.9
    • Version 1.12 & 2.2
    • Version 3.0
    • Version 3.1
    • All
  • Learning Center
  • Forum
  • API
  • Twitter
  • IRC
  • GitHub

Copyright 2018 The jQuery Foundation. jQuery License