JQuery : how to change, add , remove css class dynamically

Share on Tumblr With jQuery, you can change dynamically the css class of a html element. By example, if i want change the color of a button id= » btnsubmit  » via a css class, by exemple from grey to purple when the button become activate. First, i remove the disabled attribute : $(‘#btnsubmit’).prop(« disabled », false); After, … Lire la suite de JQuery : how to change, add , remove css class dynamically