I’ve found using one default fallback AJAX failure mechanism to be a bit of a life saver, it would prove even more useful if you are making a lot of AJAX calls distributed across your site. I found this approach especially helpful in controlling when the AJAX failure callback is triggered, so you don’t end [...]
for tips on PHP and web development