Good Morning,
Sorry i think its a simple "stupid" question but i have a big blank.
I want to change a class if the attr value is equal to a given value.
I have the following:
<a str=10 href="start.php class="old">Start<a>
So if str attr from a is 10 i will set the class to class="new"
I have tried somethig like:
$('a.attr.subnr.10).addClass('old');
I think its to early in the morning :-(
Thank you !