layui父页面获取子页面表格中radio选中值
var guan = layer . open ({ type : 2 , title : 'title' , skin : 'layui-layer-molv' , area : [ '45%' , '90%' ], btn :[ '保存' , '取消' ], // where:{id:id}, yes : function (index){ var iframeWindow = window [ 'layui-layer-iframe' + index] var checkStatus = iframeWindow . layui . table . checkStatus ( 'test-table-toolbar' ); console . log ( checkStatus ) console . log ( checkStatus . data [ 0 ]) }, no : function (){ layer . close (); }, content : "路径" }); 来源: oschina 链接: https://my.oschina.net/u/4174369/blog/4456009