$.ajax({ url: "http://siteheart.com/webindicator/status?ent=188798", error: function(xhr, status, error) { alert(xhr.status); } });