Skip to main content

Bug Tracker

Side navigation

#10385 closed bug (worksforme)

Opened September 30, 2011 01:47AM UTC

Closed September 30, 2011 02:17AM UTC

Last modified September 13, 2012 10:35AM UTC

jQuery.browser.version for ie9 is returning '7.0'

Reported by: anonymous Owned by:
Priority: low Milestone: 1.7
Component: core Version: 1.7b1
Keywords: Cc:
Blocked by: Blocking:
Description

jQuery.browser.version returns 7.0 instead of the expected 9.0 for Internet Explorer 9.0.8112.16421 64bit

Perhaps I have done something incorrectly however someone smarter should probably take a look

thank you.

Attachments (0)
Change History (5)

Changed September 30, 2011 02:17AM UTC by rwaldron comment:1

component: unfiledcore
milestone: None1.7
priority: undecidedlow
resolution: → worksforme
status: newclosed
version: 1.6.21.7b1

Changed September 30, 2011 02:36AM UTC by rwaldron comment:2

If you're in compat mode, you will get the IE7 UA string which is what jQuery.browser.version is derived from

Changed October 17, 2011 11:53PM UTC by anonymous comment:3

If you're in quirks mode too, or don't specify a doctype, IE will try its best to figure out what compat mode to use too, and that might set it to 7.0

Changed October 18, 2011 04:05PM UTC by laurent.guiraud@digitech.fr comment:4

I have the problem too and i'm using IE 9.0.8112.16421 on Seven 64bits.

I'm not in compat mode and I have the following doctype in my page :

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http:www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

But whatever ? Am I missing something ?

Changed September 13, 2012 10:35AM UTC by mail@jdborg.com comment:5

I would argue this needs opening, I'm getting the same result with <!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.01EN" "http:www.w3.org/TR/html4/strict.dtd">