开发者

DOM running slow on jQuery click function

I have a small issue with the DOM taking up to 30 seconds to recognize that a click has been made. When I click back and forth between "A" and "C" the menu that shows up takes more and more clicks to show up. The DO开发者_运维百科M sometimes takes up to 30 seconds to recognize the change has been made and I usually end up having to double-click after a while to get the click recognized.

Is there a proper way to handle adding/removing classes using jQuery that doesn't throttle the DOM?

The code is here: http://jsfiddle.net/chrisabrams/F7nQ4/6/


You don't have any problem in your code. Try it in other browser/computer and you'll see.

Hope this helps

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜