用window.open打开该窗口<input type=checkbox value="test" onclick="opener.document.form1.txt1.value=value">

解决方案 »

  1.   

    1.htm:
    <a href="#" 
    onclick='window.open("2.htm","","width=300,height=250")'>open</a><br>
    <input type=text name=txt1>
    2.htm:
    <script>
    function mm()
    {
        if(event.srcElement.type == "radio")
    opener.txt1.value = event.srcElement.value;
    }
    document.onclick=mm;
    </script>
    <body>
    <input type=radio value=1 name=r1>1111
    <input type=radio value=2 name=r1>2222
    <input type=radio value=3 name=r1>3333
    <input type=radio value=4 name=r1>4444
    </body>