[jQuery] Re: jQuery.validate: If the A field is changed, how to call the validate method of B field?

2008-06-24 Thread zhudp.cn
wrote: > The remote method caches the last entered value, and sends a new > request only when the content changed. > > You could clear the cache manually: $("#B").data("previousValue", null); > > Let me know if that works for you. > > Jörn > > >

[jQuery] Re: jQuery.validate: If the A field is changed, how to call the validate method of B field?

2008-06-24 Thread zhudp.cn
Thank you for your reply! I have tried it, the first time of A happen changed, B's validate method is called. but the second time, B's validate method is called again. the breakPoint of java's programe hasn't called. cf: when the B happen changed, the A's value isn't changed.

[jQuery] Re: jQuery.validate: If the A field is changed, how to call the validate method of B field?

2008-06-24 Thread zhudp.cn
;t changed. On 6月24日, 下午3时45分, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Use the valid method for that:http://docs.jquery.com/Plugins/Validation/valid > > $("#A").change(function() { >        $("#B").valid(); > > }); > > Jörn >

[jQuery] [validate]If the A field is changed, how to call the validate method of B field?

2008-06-24 Thread zhudp.cn
There is a question: If the A field is changed, how to call the validate method of B field? In my form, there are A and B fields, I have to call B's remote method, when one of A and B have changed, coding: $(myForm).validate({ rules: { B: {

[jQuery] jQuery.validate: If the A field is changed, how to call the validate method of B field?

2008-06-23 Thread zhudp.cn
There is a question: If the A field is changed, how to call the validate method of B field? In my form, there are A and B fields, I have to call B's remote method, when one of A and B have changed, coding: $(myForm).validate({ rules: { B: {