Answer the question
In order to leave comments, you need to log in
Prototype + jQuery 1.4.2 - 1.6.1 + FancyBox or any other extension?
The essence of the problem: there is a site in which everything is mixed in the script part, namely Prototype and jQuery. Everything would be fine, but only they conflict with each other. Not even so - jQuery plugins conflict - they simply do not connect, even jQueryUI does not want to work, for any call to methods other than those stored in the file with jQuery. I don’t know what to do, I already tried noConflict in different places, both before connecting Prototype, and after, and in two places at once - the result is the same :(
Can you tell me what to do?
“Uncaught TypeError: Object # Object> has no method 'methodName'" to any method
Answer the question
In order to leave comments, you need to log in
Recently faced the same problem. Project on tapestry 5 (in which the client part is based on prototype), it was necessary to fasten jquery plugins to it. The line at the end of jquery.js helped:
var j$ = jQuery.noConflict();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question