主页面
<textarea name="txt">....</textarea>
<input type="button" onclick="window.open('a.htm')">a.htm
<textarea name="txt1">....</textarea>
<scirpt>
  document.all.txt1.value = parent.document.all.txt.value;
</scirpt>

解决方案 »

  1.   

    <input name="aa" type="button" onclick="javascript:window.open('aa.asp?textarea='+document.all('你文本框的名称').value,'_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=' + (screen.availheight / 2 - 146 ) + ' ,left=" + (screen.availwidth / 2 - 100 ) + ',width=200,height=292');">====CSDN 小助手 V2.0 2005年10月16日发布====
    CSDN小助手是一款脱离浏览器也可以访问Csdn论坛的软件
    界面:http://blog.csdn.net/Qqwwee_Com/archive/2005/10/16/504620.aspx
    下载:http://szlawbook.com/csdnv2/csdnv2.rar为神六喝彩,向所有科技工作者致敬!
    拒绝日货。
      

  2.   

    <textarea id="txt">...</textarea>
    <input type="button" onclick="open()" value="运行">
    <script>
      var new=window.open();
      new.document.write(txt.value);
    }
    </script>