Is there any way to get the http status of the current web page from javascript?
Spent some time searching on the web, but no luck at all... Seems like it\'s not pos
It is not beautiful, but you can use:
t = jQuery.get(location.href) .success(function () { console.log(t.status) }) .error(function() { console.log(t.status) });