can anyone assist in locating the anchor tag via jQuery which contains a matching data-attribute please and then applying a class to it
e.g. code
<a href="#" data-label="test1">Link 1</a>
<a href="#" data-label="test2">Link 2</a>
<a href="#" data-label="test3">Link 3</a>
So if I pass a function the value "test2" a class of highlight would be applied to that one?
Thanks