top.art.dialog

发布时间:2014-10-22 18:06:45编辑:www.fx114.net 分享查询网我要评论
本篇文章主要介绍了"top.art.dialog",主要涉及到top.art.dialog方面的内容,对于top.art.dialog感兴趣的同学可以参考一下。

    function TopClass(ResId) {         top.art.dialog.open('/Home/Theme/Index?rsId=' + ResId,                                 {                                     title: '添加分类',                                     height: '550px',                                     width: '800px',                                      top: 50,                                     lock: true,                                     close: function () { return true; },                                     button: [{                                         name: '确定',                                         callback: function () {                                             $("#hfTypeId").val(this.iframe.contentWindow.document.getElementById('hfTypeId').value);                                             $("#htRsId").val(this.iframe.contentWindow.document.getElementById('htRsId').value);                                             $.ajax({                                                 type: "POST",                                                 url: "/Home/Theme/InsertData?cTypeid=" + $("#hfTypeId").val() + "&RsID=" + $("#htRsId").val(),                                                 dataType: "text",                                                 async: false,                                                 success: function (data) {                                                 }                                             });                                             return true;                                         }                                     }, {                                         name: '返回',                                         callback: function () {                                             return true;                                         }                                     }]                                 });     }     parent.document.getElementsByTagName('iframe')[0].setAttribute("scrolling","no");  设置父级的iframe滚动条隐藏   parent.document.getElementsByClassName('aui_main')[0].style.height = "550px";  设置父级元素的高度 父子页面传值 :url   。data  。 父页面: top.art.dialog.data('id',chk_str);         top.art.dialog.open("/Admin/CardList/GetBook", {             title: '选择书店',             height: '550px',             width: '800px',             top: 50,             lock: true,             close: function () { return true; },             button: [{                 name: '返回',                 callback: function () {                     window.location.href = '/Admin/CardList/Index';                     return true;                 }             }] 子页面: id = top.art.dialog.data('id');


上一篇:单链表及快速排序c语言实现
下一篇:函数模板

相关文章

关键词: top.art.dialog

相关评论

本站评论功能暂时取消,后续此功能例行通知。

一、不得利用本站危害国家安全、泄露国家秘密,不得侵犯国家社会集体的和公民的合法权益,不得利用本站制作、复制和传播不法有害信息!

二、互相尊重,对自己的言论和行为负责。

好贷网好贷款