IE4与IE5的严重区别!!
闹奥西 2003-12-08 02:25:21 <script language="vbscript">
function fnc1()
msgbox txtSum.value '当前value
txtSum.value=CInt(txtSum.value)+1 'value++
txt1.select() 'Get focus and select all
end function
</script>
输入后焦点离开:
<input type=text name=txt1 onblur="fnc1()">
<input type=hidden name=txtSum value="1">
上述代码在IE4中执行(在文本框中输入后离开焦点)会弹出两次Msgbox,而在IE5和IE6中则只会弹出一次MsgBox,,,怎么让IE4和IE5或IE6一样呢???????????
大家帮帮忙啊!!!