Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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:


Doesn't matter if I'm in 7, 8 or 9, I'm always getting '7.0' returned.

<!DOCTYPE html>
    <script type="text/javascript" src="../assets/js/jquery/jquery.js"></script>
    <script type="text/javascript" >
    if ($.browser.msie) {
      Hello World

Change History (4)

comment:1 Changed 11 years ago by jdborg

As requested; jsFiddle example jsfiddle.net/jdb1991/Uda6B/

comment:2 Changed 11 years ago by jaubourg

Resolution: worksforme
Status: newclosed

I open this fiddle with IE9 and I get 9.

comment:3 Changed 11 years ago by jdborg

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 jaubourg

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.