ASP如何在同一个页面内获取textfield值?
1个回答
2013-12-05
展开全部
<form id="form1" name="form1" method="post" action="?action=view">
<input name="number_one" type="text" id="number_one" size="10" />
<%
if request.QueryString("action") = "view" then
dim number_one
number_one = request.Form("number_one")
response.Write(number_one)
end if
%>
<input type="submit" name="button" id="button" value="提交" />
</form>
<input name="number_one" type="text" id="number_one" size="10" />
<%
if request.QueryString("action") = "view" then
dim number_one
number_one = request.Form("number_one")
response.Write(number_one)
end if
%>
<input type="submit" name="button" id="button" value="提交" />
</form>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询