I have been using jQuery, and I need to use Script.aculo.us and Protoype. I have tried using the jQuery library extending another library. I defined it using the following syntax:
jQuery.noConflict();
jQuery(document).ready(function() {
});
My jQuery works properly, and I have divided the three modules. I need to have all three modules on the same page. I know using all three different libraries is not very efficient, but I don't see another way.
For validation I am using jQuery and Ajax (as an example: validation.js).
The rest of my animation uses Prototype and Script.aculo.us (as an example: animation.js).
I have separated the script files. My problem is that now if my animation part works properly, then the Ajax part doesn't work. If the Ajax part is working the validation is not working. I am replacing the code, but I am still unable to integrate.
Questions:
Does jQuery provide a simple way to make this work?
Is there a procedure that Prototype and Script.aculo.us has that should not conflict with jQuery?