[jQuery] Re: Forms AjaxSubmit: no error handling?

2008-01-15 Thread [EMAIL PROTECTED]
To add to my previous post: in FF I always get the 'success' alert. Groeten, Friso

[jQuery] Re: Forms AjaxSubmit: no error handling?

2008-01-15 Thread [EMAIL PROTECTED]
Hi all, I struggled with this one all day. Could it be that error is broken when you try to do a file upload in FireFox? My HTML (fragment): tr tdBatch type:/td td select name=importtype option value=11/option !-- other option omitted for brevety -- /select

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Josh Nathanson
that an error occurred on the server. -- Josh - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Monday, December 03, 2007 3:49 PM Subject: [jQuery] Re: Forms AjaxSubmit: no error handling? Hi, Josh. I've only used the validation plug

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Josh Nathanson
PM Subject: [jQuery] Re: Forms AjaxSubmit: no error handling? You can supply an error handler to ajaxSubmit. You can use any of the options supported by $.ajax since eventually the call is delegated to that method. $('#myForm').ajaxSubmit({ success: function() { alert('hooray

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Mike Alsup
You can supply an error handler to ajaxSubmit. You can use any of the options supported by $.ajax since eventually the call is delegated to that method. $('#myForm').ajaxSubmit({ success: function() { alert('hooray!'); }, error: function() { alert('boo'); } }); Mike On Dec 3, 2007

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Josh Nathanson
Subject: [jQuery] Re: Forms AjaxSubmit: no error handling? You can supply an error handler to ajaxSubmit. You can use any of the options supported by $.ajax since eventually the call is delegated to that method. $('#myForm').ajaxSubmit({ success: function() { alert('hooray