原文:layui弹出层layer.open 中的content问题

如果content取的的事当前页面元素内容时,type类型应该为 layer.open type: , title: 数据选择器 , content: select pe content .html , area: px , px , 如果content取的的路径,或者某个页面,type类型应该为 layer.open type: , title: 添加商品信息 , content: :url ...

2020-07-17 14:57 0 5791 推荐指数:

查看详情

layui弹出layer.open content问题

如果content取的的事当前页面元素内容时,type类型应该为1 layer.open({ type: 1, title: '内容区域', content: $('#DIV_EditUserInfo'), // 设置跳转的div,跳转到对应的页面 area: ["920px ...

Tue Jul 28 01:09:00 CST 2020 2 6592
layer.open弹出应用示例

1、定义一个静态页,里面存放需要的HTML,如FlightBookChildInsur.html 在这个页面定义执行函数,用来返回数据; function callbackdata() { ...

Mon Oct 08 21:36:00 CST 2018 0 7124
layuilayer.open弹出层高度自适应的解决

https://blog.csdn.net/yzw675628706/article/details/115347180 其他没有试,这个是对我目前的使用有效 layui.layer.open({ type: 2, title:'百度页面', area ...

Sat May 22 01:51:00 CST 2021 0 2691
layui layer.open弹出框获取不了 input框的值

一句话, 把 content参数的 html() 去掉就好, 即 content: $('.add_html') ! 如果用 val() 还获取不到值,尝试用 $('input[name=user_name]').attr("value") 或者 $('input[name ...

Sun Sep 22 02:43:00 CST 2019 0 1913
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM