js noconflict code example
Example 1: jquery noconflict
var dom = {};
dom.query = jQuery.noConflict( true );
Example 2: jquery noconflict
// Do something with the new jQuery
dom.query( "div p" ).hide();
// Do something with another library's $()
$( "content" ).style.display = "none";
// Do something with another version of jQuery
jQuery( "div > p" ).hide();