jQuery [attribute=value] Selector

jQuery Selectors : Select every element containing an id attribute with the value "choose"

Definition and Usage

The [attribute=value] selector selects each element with the specified attribute and value.

Syntax

$("[attribute=value]")
Parameter Description
attribute Required. Specifies the attribute to find
value Required. Specifies the value to find