![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Bootstrap
Bootstrap
不见长安见晨雾
皇上有旨,让太阳站下
展开
-
BootstrapValidator的使用
BootstrapValidator的使用方式有多种,这里示例了其中一种的完整使用流程,即当点击某个按钮的时候,开始校验,校验通过,则异步提交表单使用步骤:第一步:HTML页面上需要有一个表单//需要提前引入JQuery和bootstrap,因为这个校验是基于bootstrap的<form id="myForm"> <div class="form-group"> <input...原创 2017-12-08 16:50:49 · 8335 阅读 · 2 评论 -
BootstrapValidator自定义中文长度校验
原理中文字符占用3个长度,在原stringLength校验方法的基础上做了一个扩展。程序;(function($) { $.fn.bootstrapValidator.validators.proStringLength = { html5Attributes: { message: 'message', min: 'm...原创 2018-09-26 20:49:17 · 3947 阅读 · 1 评论 -
Bootstrap面包屑导航,right.html操作top.html
需求页面是使用frameSet布局的,当点击左侧的菜单后,右侧的页面发生改变,同时顶部的面包屑导航也发生改变。效果如下实现第一步:封装JS方法,right.html页面需要引入这段js代码/** * 面包屑导航 * @param level1 * @param level2 */function breadCrumbTitle(level1,level2){ //查找t...原创 2018-09-27 14:30:53 · 1759 阅读 · 1 评论