Technology Questions

Go Back   Technology Questions > Software Questions > Internet > Internet Explorer

Internet Explorer Discuss IE7 or any other IE version.



Reply
 
LinkBack Thread Tools
  #1  
Old 05-06-2007, 06:52 AM
TJT
Newsgroup Contributor
 
Posts: n/a
IE7 returning incorrect version number to JavaScript

I am constructing a webpage, with some basic Javascript. The script changes
depending upon the browser being used.

When I use this code...

parseInt(navigator.appVersion)

....the number returned is '4'. With this being IE version 7, this is clearly
wrong.

A lot of websites rely on knowing the browser version, so I would say this
is a pretty urgent (and easy!) fix for Microsoft to make.


----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/communities...plorer.general
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 05-06-2007, 06:52 AM
  #2  
Old 05-06-2007, 06:54 AM
Rob ^_^
Newsgroup Contributor
 
Posts: n/a
Re: IE7 returning incorrect version number to JavaScript

Hi TJT,
And what is returned with version 6? What is returned by FireFox? Check your
idiom.
See the following link
http://ajaxian.com/archives/detecting-ie7-in-javascript

Regards.

"TJT" <TJT@discussions.microsoft.com> wrote in message
news:76C8C33A-586D-4E92-BFD2-BF3A1B08CDDC@microsoft.com...
>I am constructing a webpage, with some basic Javascript. The script changes
> depending upon the browser being used.
>
> When I use this code...
>
> parseInt(navigator.appVersion)
>
> ...the number returned is '4'. With this being IE version 7, this is
> clearly
> wrong.
>
> A lot of websites rely on knowing the browser version, so I would say this
> is a pretty urgent (and easy!) fix for Microsoft to make.
>
>
> ----------------
> This post is a suggestion for Microsoft, and Microsoft responds to the
> suggestions with the most votes. To vote for this suggestion, click the "I
> Agree" button in the message pane. If you do not see the button, follow
> this
> link to open the suggestion in the Microsoft Web-based Newsreader and then
> click "I Agree" in the message pane.
>
> http://www.microsoft.com/communities...plorer.general



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Version Number??? SoCalCommie Vista Hardware 6 04-12-2007 02:12 PM
Version Number??? SoCalCommie Vista Hardware 2 04-12-2007 02:08 PM
Version Number??? SoCalCommie Vista Hardware 6 04-12-2007 02:06 PM
Version Number??? SoCalCommie Vista Hardware 2 04-12-2007 02:03 PM
Version Number??? SoCalCommie Vista Hardware 22 04-12-2007 02:02 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 04:54 AM.


2003 - 2010 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0