• jQuery
  • jQuery UI
  • jQuery Mobile
  • Sizzle
  • QUnit
  • Plugins
  • Contribute
    • CLA
    • Style Guides
    • Bug Triage
    • Code
    • Documentation
    • Web Sites
  • Events
    • UK
    • Portland
  • Support
    • Learning Center
    • Try jQuery
    • IRC/Chat
    • Forums
    • Stack Overflow
    • Commercial Support
  • jQuery Foundation
    • Join
    • Members
    • Team
    • Brand Guide
    • Donate

jQuery API Documentation

  • Download
  • API Documentation
  • Blog
  • Plugins
  • Browser Support

Category: 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().

Also in: Selectors > Basic Filter

:animated Selector

Select all elements that are in the progress of an animation at the time the selector is run.

Also in: Selectors > Attribute

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.

Also in: Selectors > Form

:button Selector

Selects all button elements and elements of type button.

Also in: Selectors > Form

:checkbox Selector

Selects all elements of type checkbox.

Also in: Selectors > Basic Filter

:eq() Selector

Select the element at index n within the matched set.

Also in: Selectors > Basic Filter

:even Selector

Selects even elements, zero-indexed. See also odd.

Also in: Selectors > Form

:file Selector

Selects all elements of type file.

Also in: Selectors > Basic Filter

:first Selector

Selects the first matched element.

Also in: Selectors > Basic Filter

:gt() Selector

Select all elements at an index greater than index within the matched set.

Also in: Selectors > Content Filter

:has() Selector

Selects elements which contain at least one element that matches the specified selector.

Also in: Selectors > Basic Filter

:header Selector

Selects all elements that are headers, like h1, h2, h3 and so on.

Also in: Selectors > Visibility Filter

:hidden Selector

Selects all elements that are hidden.

Also in: Selectors > Form

:image Selector

Selects all elements of type image.

Also in: Selectors > Form

:input Selector

Selects all input, textarea, select and button elements.

Also in: Selectors > Basic Filter

:last Selector

Selects the last matched element.

Also in: Selectors > Basic Filter

:lt() Selector

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

Also in: Selectors > Basic Filter

:odd Selector

Selects odd elements, zero-indexed. See also even.

Also in: Selectors > Content Filter

:parent Selector

Select all elements that that have at least one child node (either an element or text).

Also in: Selectors > Form

:password Selector

Selects all elements of type password.

Also in: Selectors > Form

:radio Selector

Selects all elements of type radio.

Also in: Selectors > Form

:reset Selector

Selects all elements of type reset.

Also in: Selectors > Form

:selected Selector

Selects all elements that are selected.

Also in: Selectors > Form

:submit Selector

Selects all elements of type submit.

Also in: Selectors > Form

:text Selector

Selects all elements of type text.

Also in: 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.7
    • Deprecated 1.8
  • 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, 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
  • 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

Quick Access

CDN
Download jQuery 1.9.1 →
  • GitHub jQuery
    Source
  • Forum Community
    Support
  • Bugs Issue
    Tracker

Books

  • Learning jQuery 3rd Edition by Karl Swedberg and Jonathan Chaffer Learning jQuery Third Edition
    Karl Swedberg and Jonathan Chaffer
  • jQuery in Action by Bear Bibeault and Yehuda Katz jQuery in Action
    Bear Bibeault and Yehuda Katz
  • jQuery Succinctly by Cody Lindley jQuery Succinctly
    Cody Lindley
  • Learning Center
  • Forum
  • API
  • Twitter
  • IRC

Copyright 2013 The jQuery Foundation.
Web hosting by Media Temple | Powered by WordPress | Thanks: Members, Sponsors