首页 > 其他 > 详细

Bootstrap Validator使用特性,动态(Dynamic)添加的input的验证问题

时间:2017-06-09 12:19:53      阅读:401      评论:0      收藏:0      [点我收藏+]

http://1000hz.github.io/bootstrap-validator/#validator-usage

Validated fields

By default, the validator will only validate fields that are present when the plugin is initialized. If your form has a dynamic set of fields, you will need to call $(...).validator(‘update‘) to inform the plugin that the set of fields to be validated has changed.

我用的jquery的clone方法动态生成的row,所以用row.validator(‘update‘).

Bootstrap Validator使用特性,动态(Dynamic)添加的input的验证问题

原文:http://www.cnblogs.com/rgqancy/p/6890712.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!