asp 怎么把一个页面里text里面的值传到另一个页面

如题所述

第1个回答  2014-05-23
table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<form name="form1" method="post" action="add.asp">
<tr>
<th width="178" height="35" bgcolor="#999999" scope="col"><div align="center">标题</div></th>
<th width="422" scope="col"><div align="left">
<input name="biaoti" type="text" size="40" maxlength="15" id="biaoti">
</div></th>
</tr>
<tr>
<td height="165" bgcolor="#999999"><div align="center"><strong>内容</strong></div></td>
<td valign="top"><div align="left">
<textarea name="neirong" cols="40" rows="10" id="neirong"></textarea>
</div></td>
</tr>
<tr>
<td height="37" colspan="2" bgcolor="#FFFFFF"><div align="center">
<input type="submit" name="Submit" value="提交">

<input type="reset" name="Submit" value="重置">
</div></td>
</tr>
</form>
</table>
add.asp
titles=request.Form("biaoti")
notes=request.Form("neirong")追问

谢谢回答,但是可能是我没说清楚,您误解我的意思了。我的意思是a.asp里面的text的值怎么传到b.asp里面,要在b.asp里面调用a.asp里的text1的值。求解答~万分感谢

追答

这就是两个页面中的传递传递啊!
传递的参数少的话,那就用sesssion函数吧!

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网