Make sure that jQuery is properly loaded. Use firebug as a Firefox debugger or the Chrome console.
Are you accessing a different domain? If so you will need to use a json callback.
$.ajax({
url: "http://ihound.com.au/livechat/php/app.php/widget-init.js",
jsonpCallback: "jsonpcallback",
jsonp: false,
dataType: "jsonp"
}).done(function(data){
console.log(data); // array of objects
});
4
solved Jquery getScript showing ReferenceError: $ is not defined [duplicate]