开发者

Jquery Internet Explorer 8 $(window) undefined

开发者 https://www.devze.com 2023-04-11 05:12 出处:网络
When I use开发者_如何学C the JQuery method $(window) in Chrome, FF etc. it returns [ DOMWindow ], when I use it in Internet Explorer 8 it returns null. How can I get the window jquery object in IE8?So

When I use开发者_如何学C the JQuery method $(window) in Chrome, FF etc. it returns [ DOMWindow ], when I use it in Internet Explorer 8 it returns null. How can I get the window jquery object in IE8?


Sounds like jQuery conflicting with something else using $ (this probably only happens in the developer console). Try jQuery(window).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号