jQuery + jQTouch + Prototype
I am trying to load jQuery + jQTouch with prototype. However, I get the following error in prototype.js.
this._each is not a function
I am including prototype.js first, then loading jquery.js then no开发者_StackOverflow中文版Conflict(), then jqTouch.
Is this the right order?
I believe you're running into the problem described here:
http://bugs.jquery.com/ticket/7809
This patch should make it go away:
http://github.com/jquery/jquery/commit/4424bda377336342ce04ab5299bf1ce624cdb7b1
精彩评论