I have been using jQuery and I need to use Scriptaculous 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 Scriptaculous. (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 any simple way to make this work?
Is there any procedure that Prototype and Scriptaculous has that should not conflict with JQuery?