<a href="" id="submitbtn" onclick="javascript:validateCode();return false;" tabindex="4"></a>
要在onclick中加入return false