[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): Batch type: 1 Bestand: My script: $(document).ready(function(){ var options = {

[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?

2007-12-03 Thread Josh Nathanson
27 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()

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

2007-12-03 Thread Josh Nathanson
2007 3:27 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: functi

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

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

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

2007-12-03 Thread Rick Faircloth
Hi, Josh. I've only used the validation plug-in a couple of times so far, but I use the jQuery validation client side, and then once the validation passes the client side, I run server side validation again, as a separate function. I program in ColdFusion, so I can use my skills there for valida

[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 4:47