Use jQuery With Other Libraries Like Prototype and MooToolsPosted by in jQuery
// After Defining jquery file you must asign a new variable to jQuery here i have used it as “phpzone”
// The reason to use this is “$” is used in both the js Jquery and Prototype and its conflicting one another.
// Prototype uses$ for id based selection
// jQuery $ uses CSS based selection
// so here “$” would be replaced with “phpzone”
// so the conflict with prototype $ will be removed.
var phpzone = jQuery.noConflict();
// Define prototype js
In Normal use of jQuery syntax will be
// Your code;
In jQuery+Prototype together syntax will be