jQuery Validate - Enable validation for hidden fields

后端 未结 9 1758
忘了有多久
忘了有多久 2020-11-21 22:27

In the new version of jQuery validation plugin 1.9 by default validation of hidden fields ignored. I\'m using CKEditor for textarea input field and it hides the field and re

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-21 23:09

    This is working for me.

    jQuery("#form_name").validate().settings.ignore = "";
    

提交回复
热议问题