<p><input type="text" name="T1" size="20" tabindex="1"></p>
<p><input type="text" name="T2" size="20" tabindex="2"></p>
<p><input type="text" name="t3" size="20" tabindex="3"></p>
<p><input type="text" name="T2" size="20" tabindex="2"></p>
<p><input type="text" name="t3" size="20" tabindex="3"></p>
<input name=xxx type=text onFocus=this.blur();> 这样xxx就得不到焦点了。同理,让某个input不失去焦点可以用focus()方法,例如:
<input name=yyy type=text onBlur=this.focus();> 这样yyy的焦点就出不去了。
一般情况最好不要这样用,会给用户带来很大麻烦。