<form method="post" name="form1">
测一下<input type="text" name="test" value="aaaabbbb">
<input type=button onclick="this.form.action='pageA.asp';this.form.submit()">
<input type=button onclick="this.form.action='pageB.asp';this.form.submit()">
</form>
测一下<input type="text" name="test" value="aaaabbbb">
<input type=button onclick="this.form.action='pageA.asp';this.form.submit()">
<input type=button onclick="this.form.action='pageB.asp';this.form.submit()">
</form>
本文介绍了一个简单的HTML表单测试案例,包含一个文本输入框和两个按钮,分别用于提交表单到不同的页面进行后续处理。

被折叠的 条评论
为什么被折叠?



