<script> <br>jQuery.noConflict(); <br>// Use jQuery via jQuery(…) <br>jQuery(document).ready(function(){ <br>jQuery("div").hide(); <br>}); <br>// Use Prototype with $(…), etc. <br>$('someid').style.display = 'none'; <br></script>
Remember to use jQuery.noConflict( after loading each js library ) to overload, such as prototype and jquery in the example.
Of course we can also not use its default namespace. For example, I like to use $j() instead of jQuery().
Js code
var $j = jQuery.noConflict();
$j(document).ready(function(){
$j(”div”).hide();
});