JS
Leaf_Key
这个作者很懒,什么都没留下…
展开
-
bootstrap 多层弹框-关闭时导致外层滚动栏消失
问题:bootstrap form 表单内弹框, 多层模态框导致最外层无法滚动解决:在最外层 form 表单内 添加<style type="text/css"> .modal { overflow: auto !important; }</style>问题实例:https://jsfiddle.net/9dtq9aap/4/解决实例:https://jsfiddle.net/9dtq9aap/5/解决网站:https://stackoverflow.com/q翻译 2021-11-05 16:02:34 · 344 阅读 · 0 评论 -
bootstrap-table中使用bootstrap-switch开关按钮
实现效果引入插件文件<script src="/static/plugin/bootstrap-switch/js/bootstrap-switch.min.js"></script><link rel="stylesheet" href="/static/plugin/bootstrap-switch/css/bootstrap-switch.min.css"/>BootStrapTable表格数据展示function initTables(){ le原创 2022-04-13 15:51:24 · 4046 阅读 · 0 评论 -
onclick事件防止重复提交-前端js控制
问题描述快速点击图一请选择,出现图二重复弹框图一图二解决,根据id,点击时解绑事件,取消时从新绑定回事件<a class="btn btn-primary fa fa-link" style="width: 80px; color: #fff;" id="buttonId" onclick="choiceStreet('${demand.UUID}')">请选择</a>function choiceStreet(productUUID){ document.ge原创 2022-04-15 17:19:26 · 1310 阅读 · 0 评论