调用Iframe里的js函数:
$(id)[0].contentWindow.saveData();
//id为frame的ID
easyui Iframe 调用上层页面的弹出窗口:
var query = parent.$;
win = query("#data-window").window({
closed: true
});
本文深入解析如何在iframe中调用js函数及如何使用easyuiIframe实现上层页面的弹出窗口功能,包括具体代码示例与应用技巧。
调用Iframe里的js函数:
$(id)[0].contentWindow.saveData();
//id为frame的ID
easyui Iframe 调用上层页面的弹出窗口:
var query = parent.$;
win = query("#data-window").window({
closed: true
});
2115

被折叠的 条评论
为什么被折叠?