Demo:http://mimo84.github.io/bootstrap-maxlength/
用法
1 给页面上的 input 或者 textarea 标签加上maxlenght 属性
<input type="text" name="nickname" maxlength="20" id="nickname">
2配置一些选项
<script type="text/javascript" > $(document).ready(function(){ $('input#defaultconfig').maxlength() $('input#nickname').maxlength({ alwaysShow: true, }); $('textarea#msg').maxlength({ alwaysShow: true }); }); </script>
3别忘记引入 js文件 jquery 需要1.9以上版本
<script src="/static/js/bootstrap-maxlength.js"></script> <script src="/static/js/bootstrap-maxlength.min.js"></script>
最后效果图
当然还有很多选项可以配置见 插件主页
相关推荐
前端项目-bootstrap-maxlength,An visual feedback indicator for the MaxLength attribute
赠送jar包:swagger-bootstrap-ui-1.9.6.jar; 赠送原API文档:swagger-bootstrap-ui-1.9.6-javadoc.jar; 赠送源代码:swagger-bootstrap-ui-1.9.6-sources.jar; 赠送Maven依赖信息文件:swagger-bootstrap-ui-...
可编辑bootstrap-table及相关组件:bootstrap3、bootstrap-table相关、bootstrap-table-editable.js、bootstrap-editable.js、bootstrap-editable.css; 配合起来,可以实现可编辑bootstrap-table列表。代码实现: ...
压缩包里面有: 1.bootstrap-table-editable.js 2.bootstrap-editable.js 3.bootstrap-editable.css 用于bootstrap table实现x-editable的行单元格编辑
bootstrap-table实现 行拖拽 插件 jquery.tablednd.js bootstrap-table-reorder-rows.js bootstrap-table-reorder-rows.css
bootstrap-table插件:bootstrap-editable,可编辑下拉框,以及代码实例,
使用bootstrap-table实现后台分页 插件资源点击此处本站下载。 引用以下css <link rel="stylesheet" href="../plugins/bootstrap/css/bootstrap.min.css" rel="external nofollow" > <link rel=...
压缩包里面有: 1.bootstrap-table-editable.js 2.bootstrap-editable.js 3.bootstrap-editable.css 用于bootstrap table实现x-editable的行单元格编辑
bootstrap-table-zh-CN.js,有需要就下载吧
bootstrap实现单元格编辑的css与js。。bootstrap-editable.css bootstrap-editable.js bootstrap-table-editable.js
bootstrap最新版资源下载不易。
bootstrap-table-export.js bootstrap-table表格导出js
FastAdmin使用bootstrap-table作为前端表格的基础组件库,通常列表交互展示已经够用了,包括通用搜索、排序、分页、导出、合并相同行/列等等。最近需要对表头进行冻结,找到了bootstrap-table-fixed-columns组件(也...
bootstrap-select-1.13.14
fastadmin 表格添加固定表头 bootstrap-table-fixed-columns所需插件
Java bootstrap-3.4.1-dist 前端框架
如有使用疑问,联系博主 bootstrap-table-fixed-columns.css固定列 冻结列
bootstrap-table-pagejump。bootstrap分页插件查询有的需要跳转到指定页面。
基于bootstrap-table 实现 右侧列固定,也可以针对左侧列固定,针对操作列使用起来非常方便,引用jquery、bootstrap-table-fixed 样式和js文件后,可以随意设置,灵活。 fixedColumns: true,//fixedtNumber:2, //...
bootstrap-table-editable.js