jQuery UI Examples - Toggle Class (Toggle Class)
Add or remove one or more classes from each element in the matched set when the style changes with animation, depending on whether the class exists and the value of the switch parameter.
For more details about the .toggleClass() method, see the API documentation .toggleClass()。
.toggleClass() demo
Click the button to preview the effect.
jQuery UI 特效 - .toggleClass() 演示
Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.
运行特效