Im trying to access a 404 event which I can see coming back as 404 with firebug but the error function is not kicking in, With my below code I always get Error: success ?.>
What you can also do is use the $.ajaxError function, like so
$("#message").ajaxError(function (event, request, settings) { $(this).show(); $(this).append("Error requesting page " + settings.url + ""); });