var dom = {}; dom.query = jQuery.noConflict( true );
// 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();