Home » Archive for May, 2016

Archive for May, 2016

Toggle Class on click

Toggle Class on click

May. 11 | Here is the Jquery toggleClass() this is working like this:- If you are clicking on div1 it will toggle(add/remove) main class from div2   $(“div1”).click(function(){ $(“div2”).toggleClass(“main”); });