解决chrome浏览器无法得到window.showModalDialog返回值的问题
2020-12-13 03:05
                         标签:style   ext   color   get   width   strong    父页面处理: function ProductList()     else{//解决chrome浏览器无法得到window.showModalDialog返回值的问题    } 子页面处理:   function Button_Submit_onclick()    解决chrome浏览器无法得到window.showModalDialog返回值的问题,搜素材,soscw.com 解决chrome浏览器无法得到window.showModalDialog返回值的问题 标签:style   ext   color   get   width   strong    原文地址:http://www.cnblogs.com/c-y-across-I/p/3793313.html
        {
   var TypeID = window.document.getElementById("Type").value;
   var returnvalues = window.showModalDialog(‘ProductList.aspx?Type=‘ + TypeID,‘window‘,‘dialogWidth=700px;dialogHeight=680px‘);  
   if(returnvalues!=undefined){   
       window.document.getElementById("test").value=returnvalues;
   }
      window.document.getElementById("test").value=window.returnValue;
        }
        {
    if (window.opener != undefined) {
       //解决chrome浏览器无法得到window.showModalDialog返回值的问题 
       window.opener.returnValue ="opener returnValue";
    }
    else {
       window.returnValue="window returnValue";
    }
    window.close();
        }
文章标题:解决chrome浏览器无法得到window.showModalDialog返回值的问题
文章链接:http://soscw.com/essay/26897.html