如何用jquery.easyui 弹出层并且在这个弹出层里引入新页面? 如何用jquery.easyui 弹出层并且在这个弹出层里引入新页面?easyui可以做到么?? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 2楼的朋友 能给个demo吗? http://jqueryui.com/demos/dialog/#animated看看这个例子,在dialog里加一个iframe就可以了。--------------------------------------帅签分割线------------------------------------------------- 应该是在层里加一个iframe 我去试试 util.showEditDialog = function (url, title, width, height, func) { var content = '<iframe src="' + url + '" width="100%" height="99%" frameborder="0" scrolling="no"></iframe>'; var divContent = '<div id="' + id + '">'; var win = $('<div/>').dialog({ content: content, width: width, height: height, modal: true, title: title, catch: false, //buttons: [{ // text: '确定', // iconCls: 'icon-add', // handler: function () { // var d = $(this).closest('.window-body'); // // 执行操作后关闭 // d.dialog('destroy'); // } //}], onClose: function () { $(this).dialog('destroy'); } }); win.dialog('open');} javascript检验表单问题!! 【求助Ext】在EditGridPanel里comboBox不能加载JsonStore数据,以及用transform则显示valueField。江湖急救啊! 冰天雪地跪地求教 csdn论坛上的帖子都是HTML文件,为什么可以回复帖子,很象动态网页 关于 js最小化窗口 js的dom中的replaceChild方法不成功,请大家看一下 google maps 如何删除所有的marker? 如何通过javascript修改json中的值? 郁闷问题:我的随滚动条滚动的div层怎么不会动? easyui中tree授权管理的问题 关于DISCUZ中JS的问题 怎样获得easyUI tree的json字符串,急,在线等,谢谢!
看看这个例子,在dialog里加一个iframe就可以了。
--------------------------------------帅签分割线-------------------------------------------------
var content = '<iframe src="' + url + '" width="100%" height="99%" frameborder="0" scrolling="no"></iframe>';
var divContent = '<div id="' + id + '">';
var win = $('<div/>').dialog({
content: content,
width: width,
height: height,
modal: true,
title: title,
catch: false,
//buttons: [{
// text: '确定',
// iconCls: 'icon-add',
// handler: function () {
// var d = $(this).closest('.window-body');
// // 执行操作后关闭
// d.dialog('destroy');
// }
//}],
onClose: function () {
$(this).dialog('destroy');
}
}); win.dialog('open');
}