#12529 closed bug (worksforme)
jQuery.browser.version for IE is always returning '7.0'
Reported by: | jdborg | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Doesn't matter if I'm in 7, 8 or 9, I'm always getting '7.0' returned.
<!DOCTYPE html> <html> <head> <script type="text/javascript" src="../assets/js/jquery/jquery.js"></script> </head> <body> <script type="text/javascript" > if ($.browser.msie) { alert($.browser.version) } </script> <p> Hello World </p> </body> </html>
Change History (4)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I open this fiddle with IE9 and I get 9.
comment:3 Changed 11 years ago by
I don't! Is there any suggestion as to why the page would be rendering in 7.0?
comment:4 Changed 11 years ago by
That's a question you should ask on the forums or IRC.
Though "google is your friend"(tm): http://stackoverflow.com/questions/6628557/javascript-returning-wrong-ie-version
Note: See
TracTickets for help on using
tickets.
As requested; jsFiddle example jsfiddle.net/jdb1991/Uda6B/