$("#login").click(function(){ $("").focus(); if });
<form>用户名:<inputm e="text" text="firstname"> <br> 密码:<input type="text" text="lastname"> <br> <button></button> <input id="login" name="login" type="submit" value="登陆"> </form>