Jquery:remove class using, toggle class

Jquery:remove class using, toggle class

Jquery: On click remove class,toggle class jquery,on click remove id,The jquery is using for change style of div ,pagraph,h.The jquery is scripting language which are used for create more attrictive design.On click change the style of a div,span and pragrap using jquery,learn jquery,javascript,jquery tutorial,baisc working exmple for learn jquery.on click remove class jquery.on mouse hover remove class jqury.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $("#change").click(function(){
        $("div").removeClass("important");
    });
    $("#toggle").click(function(){
        $("div").toggleClass("important");
    });
});
</script>
<style>
.important {
    font-weight: bold;
    font-size: 20px; 
    color: #FF9900;
    width:300px;
    text-transform:capitalize;
}

</style>
<div class="important"> Jquery: On click remove class,toggle class jquery,on click remove id,The jquery is using for change style of div ,pagraph,h.The jquery is scripting language which are used for create more attrictive design.On click change the style of a div,span and pragrap using jquery,learn jquery,javascript,jquery tutorial,baisc working exmple for learn jquery.on click remove class jquery.on mouse hover remove class jqury.</div><br>

<button id="change">remove classes to elements</button>&nbsp;&nbsp;<button id="toggle">Toggle Class</button>
Share Button

About admin

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Author: pramod kumar kumawat Mob: 9269727062
Free WordPress Themes - Download High-quality Templates