关于作者

浏览器兼容性

上一篇 / 下一篇  2007-08-08 15:16:03

 xmlhttp 兼容性

(ie6 ie7 ff)

ie7 必须是onreadystatechange  ie6必须是onReadyStateChange

ie6 必须用xmlhttp 的activex对象 ie7和ff可以用new XMLHttpRequest 直接创建

ie6 的xmlhttp不是真正的js对象 所以它的 成员函数 this 都跟js对象不一样

 

js 内核兼容性

(ff ie netscape)

netscape的闭包函数名不会被外面访问

(function a(){})();        //alert(a); undefined!!!!

 

事件处理兼容性

netscape必须用位掩码注册事件

 

 

 


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)