首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

问个firefox中的js有关问题

2012-02-29 
问个firefox中的js问题inputname txtAccount type text id txtAccount class inputCss oncli

问个firefox中的js问题
<input   name= "txtAccount "   type= "text "   id= "txtAccount "   class= "inputCss "   onclick= "alert( 'z ') "   controlindex= "0 "   style= "width:200px; "   />

为什么我把onclick换成onactivate的时候,在firefox浏览器中没反应了?是不是firefox不知道onactivate??而在IE里面却都可以执行

[解决办法]
onactivate 这个事件是IE Only的,所以除了IE核心的浏览器之外都不被支持!

热点排行