<form action="**.php" method="post">
<input type="text" name="username"/>
<input type="password" name="pwd"/>
<input type="submit" onclick="if(event.keyCode==13){gosubmit();}">//Enter 的键值是13
</form>
时间: 2024-10-03 16:49:51
<form action="**.php" method="post">
<input type="text" name="username"/>
<input type="password" name="pwd"/>
<input type="submit" onclick="if(event.keyCode==13){gosubmit();}">//Enter 的键值是13
</form>