http://www.csdn.net/develop/Read_Article.asp?Id=15113

解决方案 »

  1.   

    1.win是一个调用showModalDialog后的返回值2.你不要用window.opener,你用parent试试看.
      

  2.   

    <input id=xxx>
    <script>
    var sFeatures ="dialogWidth=100"
    var win=window.showModalDialog("Logon.html",window,sFeatures);
    alert(win=="aaa")</script>
    logon.htm
    -----------------
    window.dialogArguments.document.all.xxx.value="new value"window.returnValue="aaa"