+ 1

Can we toggle between two classes using the "toggleClass" method of jquery?

Toggle two or more classes

29th Jan 2017, 4:53 AM
Anjum Chauhan
Anjum Chauhan - avatar
1 Réponse
+ 4
Yes, you can. use $("selector").toggle class("class"); method
2nd Feb 2017, 2:53 PM
Vikash Pal
Vikash Pal - avatar