Sel Attribute End Value
# jQuery [attribute$=value] Selector
[ jQuery Selectors](#)
## Example
Select all `` elements with an href attribute ending with ".org":
$("a[href$='.org']")
[Try it yourself Β»](#)
* * *
## Definition and Usage
The `[attribute$=value]` selector selects each element with a specified attribute whose value ends with a specified string.
* * *
## Syntax
$("[_attribute_$=_'value'_]")
| Parameter | Description |
| :--- | :--- |
| _attribute_ | Required. Specifies the attribute to search for. |
| _value_ | Required. Specifies the string that the attribute value must end with. |
* * jQuery Selectors](#)
YouTip