阅读背景:

添加类然后删除并在单击时替换类

来源:互联网 

I have a default class. When the icon has been clicked, the default class will be removed and replaced with the new one, then when the icon has been clicked again, then the old class will be added again, then the new class will be removed. It should be changed every time the icon is clicked. It's closed to .toggleClass(), but should show/hide and replace the class.I have a default class. When the icon has been




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: