阅读背景:

if else语句没有基于jquery中的语句删除类

来源:互联网 

I am trying to add or remove a class from an SVG element hence why I am using attr() instead of toggleClass. but it seems as if it is only reading the if statement once instead of every time I click it. It will add the class 'ani' but will not remove it. Please any help would be much appreciated, thank you.I am trying to add or remove a class from an SV




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

分享到: