Possible Duplicate:
How to avoid conflict between JQuery and Prototype
I am adding an enhancement to my company's software. I am using JQuery for Ajax Request calls. But my company uses Prototype.js for the same. Now, when I integrate my enhancement to the main software, I am getting conflicts between Prototype.js and JQuery as both use "$" symbols.
Can anyone help me with this?
I have to include both, JQuery and Prototype.js at the same time and really cannot avoid anyone of those.
You can put your jQuery codes within:
(function($){
$(document).ready(function(){
})
})(jQuery)