http://www.csdn.net/Develop/read_article.asp?id=15113

解决方案 »

  1.   

    1.
    <form name=form01>
    <input  name=x value=''>
    </form>
    <input id=y value=''>
    <script> 
    var v = window.showModalDialog("2.htm");
    document.form01.x.value = v;
    </script> 2.htm内容是
    <script>
    function back() 

    window.returnValue="666";
    window.close() 
     } 
    </script> 
    <input value="返回" type=button onclick="back()"> 
      

  2.   

    net_lover(孟子E章)那个连接我也看了,但每次都报错谢谢hbzyduwu(鞋带又松了~) net_lover(孟子E章)
    但我不明白dialogArguments是怎么用的,在一些在线编辑器里都是这么用,请教
      

  3.   

    dialogArguments--------------------------------------------------------------------------------DescriptionReturns the variable or array of variables passed into the modal dialog window. Syntax
    object.dialogArgumentsResThis property applies only to windows created using the showModalDialog method. This property has read-only permission, meaning you can retrieve its current value, but not change it. Applies Towindow