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
>
>
>
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.
;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
>
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: {
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: {
5 matches
Mail list logo