原文:layui彈出層layer.open 中的content問題

如果content取的的事當前頁面元素內容時,type類型應該為 layer.open type: , title: 內容區域 ,content: DIV EditUserInfo , 設置跳轉的div,跳轉到對應的頁面 area: px , px , 如果content取的的路徑,或者某個頁面,type類型應該為 layer.open type: , title: 內容區域 ,content: ...

2020-07-27 17:09 2 6592 推薦指數:

查看詳情

layui彈出layer.open content問題

如果content取的的事當前頁面元素內容時,type類型應該為1 layer.open({ type: 1, title: '數據選擇器', content: $('#select_pe_content').html(), area: ["920px", "250px ...

Fri Jul 17 22:57:00 CST 2020 0 5791
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