IE8 can go into IE7 mode if it needs to. How does jQuery detect this? Specifically, what is the value of $.browser.version?
$.browser.version
IE8 in IE7 mode will report IE7. BUT you can analyse user-agent and check for "Trident/4.0". If you see this line then you work with IE8
1.4m articles
1.4m replys
5 comments
57.0k users