[jQuery] Re: [validate] How can I force element validation if the value is unchanged?

2009-04-01 Thread Jörn Zaefferer
You could remove the cached value from the element data. Then call valid() on that element to run the validation again. Jörn On Wed, Apr 1, 2009 at 3:21 AM, pbarnes pmbar...@gmail.com wrote: I need to use an ASMX service to validate a phone number. The Web method requires the phone number

[jQuery] Re: [validate] How can I force element validation if the value is unchanged?

2009-04-01 Thread pbindagorge
I have really tried to figure out how to do this, but I can't figure it out by what you wrote here. Can you please tell me more? Here's where I thought I should be attempting this. The validator var points to the return of $('#aspnetForm').validate()... $ddlCountries.change(function() {

[jQuery] Re: [validate] How can I force element validation if the value is unchanged?

2009-04-01 Thread Jörn Zaefferer
Try this: $phoneNumber.data(previousValue, null).valid() Jörn On Wed, Apr 1, 2009 at 8:04 PM, pbindagorge pmbar...@gmail.com wrote: I have really tried to figure out how to do this, but I can't figure it out by what you wrote here. Can you please tell me more? Here's where I thought I

[jQuery] Re: [validate] How can I force element validation if the value is unchanged?

2009-04-01 Thread pbindagorge
That worked! Thank you so much for your quick replies and for all your hard work on this superb plugin! On Apr 1, 12:08 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Try this: $phoneNumber.data(previousValue, null).valid() Jörn On Wed, Apr 1, 2009 at 8:04 PM, pbindagorge