codeGK
Code it ALL
jQuery toggleClass() - CodeGK

♦ jQuery toggleClass()

♣ Example3: jQuery toggleClass()

Toggles class(s) of HTML element(s).
In this example, jQuery toggleClass() method is illustrated.
Example
Input:
Output:
Css_classes