点击登录提交两次的问题 <a href="" id="submitbtn" onclick="javascript:validateCode();return false;" tabindex="4"></a> 要在onclick中加入return false