
bootstrap
jasin4j
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【Bootstrap Validator】Bootstrap Validator 表单无法提交
用bootstrap validator验证表单后,用$("").submit();无效尝试过两种方式可行:1.用原生js提交 document.getElementById("addUserForm").submit(); 2.用Ajax获取值提交。原创 2018-06-11 18:53:08 · 538 阅读 · 0 评论 -
【BootstrapValidator】Bootstrap表单验证时bootstrap Maximum call stack size exceeded
表单验证时出现了bootstrap Maximum call stack size exceeded解决:在你要验证的输入框的div标签中加上class="form-group"即可解决。原创 2018-06-12 10:45:15 · 3466 阅读 · 2 评论 -
【bootstrap】bootstrapValidator(自定义验证身份证)
bootstrapValidator自定义验证身份证完整验证代码:<script type="text/javascript"> $(document).ready(function() { $('#registerForm').bootstrapValidator({ message : '此值无效!', ...原创 2018-06-09 23:29:11 · 7730 阅读 · 0 评论 -
【bootstrapValidator】bootstrapValidator对隐藏域验证,插件不能捕获“程序赋值事件”解决方案
1. 赋值之后触发一次“change”事件//bootstrapValidator这个插件不能捕获这样的“程序赋值事件”,所以这里不能达到验证的效果。//解决办法:赋值之后触发一次“change”事件$("#result").val(result).change();2.excluded:[":disabled"],//关键配置,表示只对于禁用域不进行验证,其他的表单元素都要验证...原创 2018-11-20 17:48:24 · 375 阅读 · 0 评论