How do you catch Server Error or 404 page not found, when you use $.get or $.post ?
For example:
$.post("/myhandler", { value: 1 }, function(data) {
alert(data);
});
That will do absolutely nothing if there is a Server Error loading "/myhandler", or if it is not found.
How do you make it notify you if there is an error?