Results 1 to 3 of 3
Mar 29, 2011, 20:40 #1
Detecting the value of an attribute in Jquery
So I want to do something like this:
if($('.class').attr('Attribute Name') == 'specific value')
Is that possible?
Mar 30, 2011, 04:55 #2
That should work as is. Are you experience a problem?
If so could you please be more specific as to what is happening.
Mar 30, 2011, 16:18 #3
You're right, that is the right syntax.