在下拉选框 select的 事件onchange,
当使用鼠标中键或者键盘上下键时候,ie和firefox的行为有点差别 。IE在使用上下键或者鼠标中间键时会激发onchange事件,而firefox不能激发 ,需要配合回车,或者onblur事件,为了修补这两者间的 差别,可以对firefox做相应的bug hack.
<select name="sel" id="sel#i#" onchange=" ( function here )" onkeyup="this.blur();this.focus();">
原文:
http://hi.baidu.com/gouphjol/blog/item/e5b925d261791b093af3cfa7.html