打开的时候把这个值写到window.open 语句中。再调用。

解决方案 »

  1.   

    在winnew.htm中加入一行
    <script>alert(opener.id1.name)</script>
    opener是打开该窗口的窗口
      

  2.   

    opener.document.getElementById("id1").name
      

  3.   

    在winnew.htm中加入:
    <input type=button value="Show" onclick="javascript:alert(opener.id1.name);">
      

  4.   

    在新的页面外传过来的name1的值经过处理以后要再传回去
      

  5.   

    如果是在http://www.csdn.net/expert/topic/1020/1020278.xml?temp=8.73965E-03
    中将其中的
    document.all.mess.doc.all.frmbt2.innerText 
    进行传递呢又该如何写呢
      

  6.   

    秋水
    如果不是input框的值而是在
    http://www.csdn.net/expert/topic/1020/1020278.xml?temp=8.73965E-03
    object中的id呢里面的document.all.mess.doc.all.frmbt2.innerText
    怎么传呢,并且还要将这个值经过处理后再传回来怎么办呢