How to remove class in jquery
Snippet Code
Here the class "demo" is removed using removeclass function.
$(document).ready(function(){
$("#test").removeClass("demo");//To remove class "demo" to <div> tag.
});
<div id='test' class='demo'>Welcome to hiox</div>
<style>
.demo{font-weight:bold;font-size:1.2em;color:red;font-style:italic;}
</style>
Tags