Hi Mike. That's the case, i'm uploading files via ajax. Thank you for your answer, now i will try to find some other way to handle errors.
Thanks again. On Mar 7, 11:46 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > I've noticed that if i defineerrorcallback function within the > > options parameter of ajaxForm, it is called only if request is failed > > (if there is no response from provided url). When i return some http > > errorfrom my serverside script (like 404, 401...) success callback is > > called. > > > I have habit to treat those returns as errors, because $.ajax treat > > them like that (only when http ok response is returned, success > > callback is called, and there is some other response (404,403,401) > > errorcallback is called. > > > Is there any chance that this will be corrected, or i'm missing the > > point > > That will happen if you are uploading files. Is that the case? The > file upload logic does not use ajax and there is really no way to > determine the status of the server response. > > Mike