摘要: <param name="wmode" value="opaque" /> <embed wmode="opaque"></embed> 阅读全文
posted @ 2017-05-31 11:06 朝闻道91 阅读(972) 评论(0) 推荐(0) 编辑
摘要: message: 'This value is not valid', container: 'tooltip', //修改提示框样式 feedbackIcons: { valid: 'glyphicon glyphicon-ok', invalid: 'glyphicon glyphicon-re 阅读全文
posted @ 2017-04-28 09:57 朝闻道91 阅读(1444) 评论(0) 推荐(0) 编辑
摘要: $("#starttime").datetimepicker({ startView:2, format:"yyyy-mm-dd", minView:"month", todayBtn : "linked", todayHighlight : true, language: "zh-CN", sho 阅读全文
posted @ 2017-04-24 11:03 朝闻道91 阅读(5640) 评论(0) 推荐(0) 编辑
摘要: 在<table></table>外面在套一个div,给这个div添加如下样式: div{ white-space: nowrap; overflow: hidden; overflow-x: scroll; -webkit-backface-visibility: hidden; -webkit-o 阅读全文
posted @ 2017-04-19 15:37 朝闻道91 阅读(7592) 评论(0) 推荐(0) 编辑
摘要: 有时表单中需要点击按钮跳转modal或者上传或者预览,但是不想触发Validator验证。 此时将button的value设置为button即可。 阅读全文
posted @ 2017-04-19 15:21 朝闻道91 阅读(1726) 评论(0) 推荐(0) 编辑
摘要: 搜了下没找到解决方案,就用CSS来解决了。 把paginationDetailHAlign:"right",使pagination-detail的class为.pull-right.pagination-detail, 设置 .pull-right.pagination-detail{ displa 阅读全文
posted @ 2017-04-19 14:21 朝闻道91 阅读(9855) 评论(0) 推荐(0) 编辑
摘要: var a= $table.bootstrapTable('getSelections'); if(a.length==1){ b.val(a[0].id); }else{alert("请选中一行")} 阅读全文
posted @ 2017-04-19 10:53 朝闻道91 阅读(37851) 评论(1) 推荐(0) 编辑