别的页面的textarea的内容是用ASP的request("firsttextarea")得到的,并用response.write写出的。

解决方案 »

  1.   

    Response.write Request("firsttextarea")
    gives you a different output? weird, did you set the properties of the other textarea same as the previous one?
      

  2.   

    karma(无为),不好意思,我弄错了,更正如下:
    function func()
    {
    var ptext;
    ptext=document.myform.t1.value;
    location.href="next.asp?text="+ptext;
    }
    ...
    <form method="post" action="next.asp" name="myform">
    <textarea name="t1"></textarea>
    <input type="button" onClick="func()">
    </form>
    ...
    in next.asp:
    <%
    text=request("next")
    %>
    <textarea name="t2">
    <%=text%>
    </textarea>
      

  3.   

    再补充一下,
    代码中的form应为:
    <form name="UploadForm" enctype="multipart/form-data" method="post" action="theother.asp">
    所以不能用该form提交textarea
      

  4.   

    1.location.href="next.asp?text="+ptext;
                              ^^^^
    2.text=request("next")
                    ^^^^
      

  5.   

    trylocation.href="testasp.asp?text="+escape(ptext);
      

  6.   

    karma(无为):多谢!
    现在结不了,请稍等。