jQuery Validation - Hide Error Message

后端 未结 10 1664
醉梦人生
醉梦人生 2021-02-05 03:39

I\'m using the jQuery Validation plugin and want to disable the or element/container it creates to display the error \'message\'.

Basically, I want the input element wi

10条回答
  •  醉话见心
    2021-02-05 03:43

    You can also use this code:

    jQuery.validator.messages.required = "";
    
    $("selector").validate();
    

提交回复
热议问题