[jQuery] Re: jQuery.form error handling

2008-03-08 Thread Goran Radulovic
Yo're right. I'm uploading files with ajax. Thank you for your answer. I will find another way to handle errors. Goran On Mar 7, 11:46 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > >  I've noticed that if i define error callback function within the > >  options parameter of ajaxForm, it is calle

[jQuery] Re: jQuery.form error handling

2008-03-08 Thread Goran Radulovic
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 pa

[jQuery] Re: jQuery.form error handling

2008-03-07 Thread Mike Alsup
> I've noticed that if i define error callback 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 > error from my serverside script (like 404, 401...) success callback is > called.