如果content取的的事当前页面元素内容时,type类型应该为1 layer.open({ type: 1, title: '数据选择器', content: $('#select_pe_content').html(), area: ["920px", "250px ...
如果content取的的事当前页面元素内容时,type类型应该为1 layer.open({ type: 1, title: '数据选择器', content: $('#select_pe_content').html(), area: ["920px", "250px ...
如果content取的的事当前页面元素内容时,type类型应该为1 layer.open({ type: 1, title: '内容区域', content: $('#DIV_EditUserInfo'), // 设置跳转的div,跳转到对应的页面 area: ["920px ...
...
父页面 function layerOpen(){layer.open({type: 2,shade: [0],title: "验收申请",area: ['1024px', '680px'],btn: ['按钮1', '按钮2'], //只是为了演示//time ...
父页面 function layerOpen() { layer.open({ type: 2, shade: [0], title: "验收申请", area: ['1024px', '680px'], btn: ['按钮1', '按钮2'], //只是为了演示 //time ...
1.在移动端中点击事件会有300毫秒的延时,解决办法是添加fastclick.js 2.减少点击触发事件 var Initialization=true;触发点击事件的时候判断Initialization是否为true。当layer.open执行成功的时候把Initialization ...
参考:http://fly.layui.com/jie/19690/ ...
在页面加载完成时候 '.add_project' 元素是可以触发click时间的,当动态添加 '.add_project' 时候,新添加的元素却触发不了click事件,类似下面的写法: 解决办法很简单,就是用全局的document来监控 '.add_project' 元素 ...