Quantcast
Channel: jQuery API Documentation » Selectors
Browsing all 55 articles
Browse latest View live

:button Selector

button selector Description: Selects all button elements and elements of type button. version added: 1.0jQuery( ":button" ) An equivalent selector to $(":button") using valid CSS is $("button,...

View Article



Attribute Starts With Selector [name^="value"]

attributeStartsWith selector Description: Selects elements that have the specified attribute with a value beginning exactly with a given string. version added: 1.0jQuery( "[attribute^='value']" )...

View Article

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

attributeNotEqual selector Description: Select elements that either don't have the specified attribute, or do have the specified attribute but not with a certain value. version added: 1.0jQuery(...

View Article

Attribute Equals Selector [name="value"]

attributeEquals selector Description: Selects elements that have the specified attribute with a value exactly equal to a certain value. version added: 1.0jQuery( "[attribute='value']" ) attribute: An...

View Article

Attribute Ends With Selector [name$="value"]

attributeEndsWith selector Description: Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive. version added: 1.0jQuery(...

View Article


Attribute Contains Word Selector [name~="value"]

attributeContainsWord selector Description: Selects elements that have the specified attribute with a value containing a given word, delimited by spaces. version added: 1.0jQuery(...

View Article

Attribute Contains Selector [name*="value"]

attributeContains selector Description: Selects elements that have the specified attribute with a value containing the a given substring. version added: 1.0jQuery( "[attribute*='value']" ) attribute:...

View Article

Attribute Contains Prefix Selector [name|="value"]

attributeContainsPrefix selector Description: 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 (-)....

View Article


:animated Selector

animated selector Description: Select all elements that are in the progress of an animation at the time the selector is run. version added: 1.2jQuery( ":animated" ) Note: If you use a custom jQuery...

View Article


All Selector (“*”)

all selector Description: Selects all elements. version added: 1.0jQuery( "*" ) Caution: The all, or universal, selector is extremely slow, except when used by itself. Examples: Example: Find every...

View Article

Attribute Starts With Selector [name^="value"]

attributeStartsWith selector Description: Selects elements that have the specified attribute with a value beginning exactly with a given string. version added: 1.0jQuery( "[attribute^='value']" )...

View Article

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

attributeNotEqual selector Description: Select elements that either don't have the specified attribute, or do have the specified attribute but not with a certain value. version added: 1.0jQuery(...

View Article

Attribute Equals Selector [name="value"]

attributeEquals selector Description: Selects elements that have the specified attribute with a value exactly equal to a certain value. version added: 1.0jQuery( "[attribute='value']" ) attribute: An...

View Article


Attribute Ends With Selector [name$="value"]

attributeEndsWith selector Description: Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive. version added: 1.0jQuery(...

View Article

Attribute Contains Word Selector [name~="value"]

attributeContainsWord selector Description: Selects elements that have the specified attribute with a value containing a given word, delimited by spaces. version added: 1.0jQuery(...

View Article


Attribute Contains Prefix Selector [name|="value"]

attributeContainsPrefix selector Description: 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 (-)....

View Article

All Selector (“*”)

all selector Description: Selects all elements. version added: 1.0jQuery( "*" ) Caution: The all, or universal, selector is extremely slow, except when used by itself. Examples: Example: Find every...

View Article


:button Selector

button selector Description: Selects all button elements and elements of type button. version added: 1.0jQuery( ":button" ) An equivalent selector to $( ":button" ) using valid CSS is $( "button,...

View Article

Attribute Starts With Selector [name^="value"]

attributeStartsWith selector Description: Selects elements that have the specified attribute with a value beginning exactly with a given string. version added: 1.0jQuery( "[attribute^='value']" )...

View Article

Attribute Equals Selector [name="value"]

attributeEquals selector Description: Selects elements that have the specified attribute with a value exactly equal to a certain value. version added: 1.0jQuery( "[attribute='value']" ) attribute: An...

View Article
Browsing all 55 articles
Browse latest View live




Latest Images