jQuery – accessing attributes
Hello, if I have the following code how can I add the condition with jQuery:
<a href="#" data-name="A1" data-city="0" class="abc">LONDON </a>
<br/><br/>
<a href="#" data-name="A1" data-city="2" class="abc">MANCHESTER</a>
Code (markup):
So […]
See original post by invalid@example.com (Lammie71)
Leave a Reply
You must be logged in to post a comment.