前端
菜考拉
这个作者很懒,什么都没留下…
展开
-
layer.open 弹窗中jquery validate Form表单校验不生效
开发中jsp页面表单提交validate 校验失效原因:检查 layer.open success回调方法是否绑定表单校验方法,使用场景如下function addFormData(){ var layerFlag = layer.open({ type: 2, //2(iframe层) title: '资产新增', //标题 area: ['95%', '86%'], //宽高 maxmin: false, shade: 0.4, //遮原创 2021-04-26 11:16:17 · 1354 阅读 · 0 评论 -
layer提示框在当前可视窗口垂直居中显示(不受文档高度影响)
top.layer.open({type : 2,title : ‘修改’,maxmin : true,shadeClose : false,area : [ ‘1200px’, ‘600px’ ],content : prefix + ‘/edit/’ + id ,// iframe的urlend: function(){reLoad();//刷新层}});// 关闭层v...翻译 2019-05-20 16:11:02 · 1422 阅读 · 0 评论 -
layer.open() 弹框中按钮关闭自身窗口实现
示例:<div class="form-inline"> <div class="form-group" style="margin-left:150px;margin-top:30px;"> <button class="btn btn-primary" onclick="submiInfo()">提交</button> &l...原创 2019-06-26 13:14:20 · 5193 阅读 · 0 评论