Hi Folks I am trying switch between two class
Is it possible? $(document).ready(function(){ $(".collapsible .collapsed").click(function(){ $(this).removeClass().addClass("collapsibleopen"); }); $("collapsibleopen").click(function(){ $(this).removeClass().addClass("collapsible collapsed"); }); }); My first switch works but when I click in collapsibleopen (change from the previous click) didnt change. I have many .collapsible .collapsed classes so I cant change all at the same time. Ideas? Regards -- Mário