Thursday, January 8, 2015

Remove CSS Class using Jquery

We can remove css class in jquery like this-

Suppose we a “div” control like this :

<div id="divGrid" class="gridtable">
This is Test      
</div>

Here how we remove class from div-

$("#divGrid").removeClass("gridtable");

No comments:

Post a Comment