var jq = $.noConflict(); // avoid conflict with other frameworks also using the dollar sign jq(document).ready(function(){ jq("#demo").text("Hello World!"); });