jQuery validate, don't check on keyup

后端 未结 1 1624
别跟我提以往
别跟我提以往 2021-01-03 06:31

Right now I have a custom callback setup for a custom rule using the jQuery Validation Plugin that makes an AJAX request and returns the boolean result. This works fine for

1条回答
  •  春和景丽
    2021-01-03 07:09

    There is an option. See here.

    Disables onkeyup validation.

    $(".selector").validate({
       onkeyup: false
    });
    

    0 讨论(0)
提交回复
热议问题