Re: [jQuery] Validation plugin: on blur using ajax

2007-03-23 Thread Dan G. Switzer, II
Gareth, Dan, many thanks for the explanation. It took a couple of read throughs but it all makes sense. I've posted my presentation at: http://blog.pengoworks.com/blogger/index.cfm?action=blog:585 Take a look at the files for ex2.5_mailing_list_validation_ajax.cfm It shows off how you can

Re: [jQuery] Validation plugin: on blur using ajax

2007-03-22 Thread Gareth Hughes
Dan, many thanks for the explanation. It took a couple of read throughs but it all makes sense. I thought I'd try the $.ajax method as suggested and after much mucking about it seems to be working :) The only thing that doesn't work is the timeout which is (very) bad because, as you pointed

Re: [jQuery] Validation plugin: on blur using ajax

2007-03-21 Thread Gareth Hughes
Dan, many thanks for the explanation. It took a couple of read throughs but it all makes sense. I thought I'd try the $.ajax method as suggested and after much mucking about it seems to be working :) The only thing that doesn't work is the timeout which is (very) bad because, as you pointed out,

Re: [jQuery] Validation plugin: on blur using ajax

2007-03-21 Thread Dan G. Switzer, II
Gareth, I thought I'd try the $.ajax method as suggested and after much mucking about it seems to be working :) The only thing that doesn't work is the timeout which is (very) bad because, as you pointed out, if the validation page doesn't respond / takes too long the browser locks. Under the

[jQuery] Validation plugin: on blur using ajax

2007-03-20 Thread Gareth Hughes
I've been playing with Jörn's excellent validation plugin (beta 2) to try and get it to validate individual fields using ajax on blur. It's a pretty basic attempt (because I'm sure Jörn is going to do something much better soon :), but I've got stuck and I can't fathom out why. I've added a new

Re: [jQuery] Validation plugin: on blur using ajax

2007-03-20 Thread Dan G. Switzer, II
Discussion. Subject: [jQuery] Validation plugin: on blur using ajax I've been playing with Jörn's excellent validation plugin (beta 2) to try and get it to validate individual fields using ajax on blur. It's a pretty basic attempt (because I'm sure Jörn is going to do something much better soon

Re: [jQuery] Validation plugin: on blur using ajax

2007-03-20 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Gareth, In order to get this to work the way you have it, you'd have to do a synchronous call to the server, which wouldn't be AJAX (the A is for asynchronous.) :) Because the code you have is running asynchronously, the AJAX call is fired off and then the