2011年5月16日

window.showModalDialog使用总结

摘要: 1.获取父页面的方法父页面:window.showModalDialog(’a.aspx’,self,'dialogWidth=700px;dialogHeight=400px;center=yes;status=yes;scroll=no') ;这里的self就代表了父页面子页面://获取父页面对象var parentWin = window.dialogArguments; 2.解决window.showModalDialog 模态窗口中location 打开新窗口问题var a=document.createElement("a"); a.href=u 阅读全文

posted @ 2011-05-16 15:13 贾罗德 阅读(297) 评论(0) 推荐(0) 编辑

导航