Attribute Selector in jQuery
Selects elements that contain the attribute or an attribute with a specific value, such as:
$("input[type='text']");
The attribute selector also looks for elements that start with a certain value, for example:
$("a[href^='http://']");
And elements ending with a certain value:
$("a[href$='.ru']");
In addition, this selector can be used to select elements that contain a specific value anywhere, for example:
$("a[target*='blank']");