jQuery Attribute Selector


It selects or find the html element by attribute.

Its syntex is as:


$("[attribute='value']")

jQuery class selector example

Hi h5 is selected.