转自:http://qsrock.iteye.com/blog/209585 function test(){ var perid = document.thisForm.PerID.value; var xml="test"; if(window.ActiveXObject){ var xml=new ActiveXObject("Microsoft.XMLDOM"); xml.async=false; xml.load("xxxx.xml")…
父页面处理: function ProductList() { var TypeID = window.document.getElementById("Type").value; var returnvalues = window.showModalDialog('ProductList.aspx?Type=' + TypeID,'window','dialogWidth=700px;dialogHeight=680px'); if(returnvalues!=unde…
背景: showModalDialog 是比较老的方法了,有些浏览器不再支持弹出模态窗口了. 比如说谷歌浏览就不再支持了,有文章说明如下: Chrome’s Lack of Support for showModalDialog Breaks Some Enterprise Web Apps 弹出窗口代码: var obj = new Object(); var retval = window.showModalDialog("request.aspx",obj,"dialo…
本文转载:http://www.cnblogs.com/sunnycoder/archive/2010/05/05/1728047.html 基本知识 l showModalDialog() (IE 4+ 支持) l showModelessDialog() (IE 5+ 支持) l window.showModalDialog()方法用来创建一个显示HTML内容的模态对话框. l window.showModelessDialog()方法用来创建一个显示HTML内容的非模态对话框. 使…