jsp中的重置reset点了没反应,怎么改,在线等,急
代码如下<FORMname="form1"id="form1"method="post"action="Book.do"><table><tr><thalign="lef...
代码如下
<FORM name="form1" id="form1"
method="post" action="Book.do">
<table>
<tr>
<th
align="left">房间类型</th>
<td><input type="radio"
checked="checked" value="0" name="type"/>单人房
<input type="radio"
value="1" name="type"/>双人房</td>
</tr>
<tr><th
align="left">入住天数:</th>
<td><input type="text" name="days"
size=15/></td>
</tr>
<tr><th
align="left">预定截止时间(当天整点计)</th>
<td>
<%
out.println("<form>");
out.println("<select
name='limit'>");
out.println("<option
value='0'> 请选择 </option>");
for(int
i=12;i<=20;i++){
out.println("<option value='" + i + "'>" + i +
":00</option>");
}
out.println("</select>");
out.println("</form>");
%></td></tr>
<tr><td>
<INPUT
type="submit" name="yuding" value="确定">
<INPUT type="reset"
name="reset"
value="重置">
</td></tr>
</table>
</FORM> 展开
<FORM name="form1" id="form1"
method="post" action="Book.do">
<table>
<tr>
<th
align="left">房间类型</th>
<td><input type="radio"
checked="checked" value="0" name="type"/>单人房
<input type="radio"
value="1" name="type"/>双人房</td>
</tr>
<tr><th
align="left">入住天数:</th>
<td><input type="text" name="days"
size=15/></td>
</tr>
<tr><th
align="left">预定截止时间(当天整点计)</th>
<td>
<%
out.println("<form>");
out.println("<select
name='limit'>");
out.println("<option
value='0'> 请选择 </option>");
for(int
i=12;i<=20;i++){
out.println("<option value='" + i + "'>" + i +
":00</option>");
}
out.println("</select>");
out.println("</form>");
%></td></tr>
<tr><td>
<INPUT
type="submit" name="yuding" value="确定">
<INPUT type="reset"
name="reset"
value="重置">
</td></tr>
</table>
</FORM> 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询