Easy Tutorial
❮ Sel Lt Prop Jquery ❯

jQuery [attribute$=value] Selector

jQuery Selectors

Example

Select all <a> elements with an href attribute ending in ".org":


Definition and Usage

The [attribute$=value] selector selects every element with a specified attribute that ends with a specified string.


Syntax

Parameter Description
attribute Required. Specifies the attribute to find.
value Required. Specifies the string the attribute value should end with.

jQuery Selectors

❮ Sel Lt Prop Jquery ❯