Response.write Request("firsttextarea") gives you a different output? weird, did you set the properties of the other textarea same as the previous one?
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>
gives you a different output? weird, did you set the properties of the other textarea same as the previous one?
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>
代码中的form应为:
<form name="UploadForm" enctype="multipart/form-data" method="post" action="theother.asp">
所以不能用该form提交textarea
^^^^
2.text=request("next")
^^^^
现在结不了,请稍等。