How to check if 'this' has a specific attribute?
<p>I want to check if the element I click (this) has a specific attribute, as a condition in the if clause.
Is it possible to do this with JavaScript or jQuery?</p>

<p>Thanks</p>
