Is there a way to handle the error from an ajax request within JQuery such that when the user navigates away from the page, the resulting error is ignored?
$
Checking the status didn't work for me, but
// Ignore incomplete requests, likely due to navigating away from the page if (jqXHR.readyState < 4) { return true; }
in the error handler did (4 being DONE).