jQuery代表问题在Firefox 11中 [英] jQuery delegate issue in Firefox 11
本文介绍了jQuery代表问题在Firefox 11中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么想法/评论? p
$ b 解决方案
'重新使用1.7+,使用.on()而不是.delegate()
jQuery delegate function is giving 'not a function' error for my plugin. So I tried running the example given on jQuery site, even that is giving an error in Firefox 11. It works fine in safari and chrome.
Any thoughts/comments?
解决方案
If you're using 1.7+, use .on() instead of .delegate()
这篇关于jQuery代表问题在Firefox 11中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文