Attribute Selectors in jQuery — a practical guide to jQuery attribute selectors with clear examples you can reuse in real projects.
jQuery Tutorial Series (15/101). Prefer one article? Read the complete jQuery tutorial.
Short description
Useful for data-* hooks and input types.
Attribute selectors
$('a[target="_blank"]')
$('input[name^="user_"]')
$('[data-role="tab"]')