ASP图片按钮

来源:百度知道 编辑:UC知道 时间:2024/05/04 06:03:16
页面1:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>
<form id="form" name="form" method="get" action="2.asp">
<label>
<input name="userz" type="text" id="userz" />
</label>
<p>
<label></label>
<input name="imageField1" type="image" src="index_9.jpg" onclick="this.form.reset()"></p>
</form>
</body>
</html>

页面2

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>无标题文档</title>
</head>

<body><

<input name="imageField1" type="image" src="index_9.jpg" onclick="this.form.reset()">里面
this.form.reset()应该是重置
this.form.submit()是提交。Get和Post应该都可以。


method="get"
改为
method="post"
不行吗?