jQuery [attribute=value] Selector
Definition and Usage
[attribute=value] selector selects each element with the specified attribute and value.
Syntax
$("[attribute=value]")
Parameters | Description |
---|---|
attribute | Required. Specifies the attribute to be found. |
value | Required. Specifies the value to be found. |