I have this link:
<a class="btn disabled" id="next" >>></a>
It has two classes “btn” and “disable”. Is it possible to remove the “disabled” class and add the “enabled” class to the button? I am guessing it is possible but I have never seen any example of where it is done. I hope someone can suggest something.
I’m sorry, but I have a hard time believing you can’t find examples 🙂
here:
http://api.jquery.com/addClass/ and http://api.jquery.com/removeClass/
Examples given in that page: