<html:form>标签onsubmit属性提交到js没有执行,直接跳到action? 15
代码如下:<html:formaction="manager.do?method=checkManager"onsubmit="returncheck();"><tabl...
代码如下:
<html:form action="manager.do?method=checkManager" onsubmit="return check();">
<table width="550" height="371" align="center" background="images/managerLand.jpg">
<tr>
<td valign="bottom">
<table height="100" align="center">
<tr>
<td>账号:<br><br></td>
<td><html:text property="account"/><br><br></td>
<td>密码:<br><br></td>
<td><html:password property="password"/><br><br></td>
<td><html:image src="images/land.gif" styleClass="img1" onclick="submit()"></html:image><br><br></td>
</tr>
</table>
</td>
</tr>
</table>
</html:form> 展开
<html:form action="manager.do?method=checkManager" onsubmit="return check();">
<table width="550" height="371" align="center" background="images/managerLand.jpg">
<tr>
<td valign="bottom">
<table height="100" align="center">
<tr>
<td>账号:<br><br></td>
<td><html:text property="account"/><br><br></td>
<td>密码:<br><br></td>
<td><html:password property="password"/><br><br></td>
<td><html:image src="images/land.gif" styleClass="img1" onclick="submit()"></html:image><br><br></td>
</tr>
</table>
</td>
</tr>
</table>
</html:form> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询