点击提交表单:
<td width="108"><img src="/html/images7/account_toplogin.gif" alt="立即登录" width="102" height="41" border="0" onclick="javascript:submitaccountForm();"/></td>
enter键提交表单
<td width="108" align="right"><input class="anliu2" alt="立即登录" type="image" src="/html/images7/account_toplogin.gif" width="98" height="45" border="0" onclick="javascript:submitaccountForm();"></td>
<td width="108"><img src="/html/images7/account_toplogin.gif" alt="立即登录" width="102" height="41" border="0" onclick="javascript:submitaccountForm();"/></td>
enter键提交表单
<td width="108" align="right"><input class="anliu2" alt="立即登录" type="image" src="/html/images7/account_toplogin.gif" width="98" height="45" border="0" onclick="javascript:submitaccountForm();"></td>
本文介绍了一种通过点击图片按钮和使用Enter键来提交表单的方法。详细解释了如何利用HTML和JavaScript实现这一功能,对于前端开发者来说非常实用。
366

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



