[jQuery] remote validation

2009-05-06 Thread Mekilioz
I'm trying to do a jquery remote validation on a 'Name' text field. The validation checks if the name is unique, hence it has to be done through the remote method. 'Save' button onclick is attached to this javascript method function validateName() { txtName.rules('add', { remote: {

[jQuery] Re: remote validation

2009-05-06 Thread Mekilioz
for the request to finish, then you valid() again, this time it will validate the cached value and return the correct result. Jörn On Wed, May 6, 2009 at 8:00 AM, Mekilioz mekil...@gmail.com wrote: I'm trying to do a jqueryremotevalidationon a 'Name' text field. Thevalidationchecks if the name