<body onload="document.all.textfield.focus()">
<form name="form1" method="post" action="">
<input type="text" name="textfield">
<input type="button" name="Submit" value="提交" onclick="form1.submit()" onfocus="this.blur()">
<input type="reset" name="Submit2" value="重置" onfocus="this.blur()">
</form>

解决方案 »

  1.   

    <form name="form1" method="post" action="">
    <input type="text" name="textfield" tabIndex="1">
    <input type="button" name="Submit" value="提交" onclick="form1.submit()" onfocus="this.blur()" tabIndex="2">
    <input type="reset" name="Submit2" value="重置" onfocus="this.blur()" tabIndex="3">
    </form>
      

  2.   

    <script language="JavaScript">
    var locate=0;
    function scroller(){
    if(locate!=60){
    scroll(1,locate);
    }locate++
    setTimeout(scroller(),3);
    }
    </script>
      

  3.   

    我的意思是如果第一个按钮的type不是"button" 而是type="Submit"那有办法吗?<form name="form1" method="post" action="">
    <input type="text" name="textfield">
    <input type="Submit" name="Submit" value="提交" onclick="form1.submit()" onfocus="this.blur()">
    <input type="reset" name="Submit2" value="重置" onfocus="this.blur()">
    </form>