hasAttrLike
Select elements by testing each value of each element's attribute attr
for pattern
.
Example
Find all elements that have a class that ends in "bar".
length // 0 because "foobar" is not at the end of the `class` attribute.length // 1
Select elements by testing each value of each element's attribute attr
for pattern
.
Find all elements that have a class that ends in "bar".
length // 0 because "foobar" is not at the end of the `class` attribute.length // 1
npm i jquery-has-attr-like
3
0.0.4
MIT