Is the logic correct to detect IE version..plz let me know

Is the logic correct to detect IE version..plz let me know

<html>
<head>
<script type="text/javascript">
function checkIEVersion()
{
var IE_Version;
var IE_Engine;
/*@cc_on
    @if( @_jscript_version < 9 )
    {
        if( @_jscript_version >= 5.8 )
            IE_Version = "8";
        else if( @_jscript_version >= 5.7 )
        {
            if( window.XMLHttpRequest )
                IE_Version = "7";
            else
                IE_Version = "6";
        }
        else if( @_jscript_version >= 5.6 )
            IE_Version = "6";
        else if( @_jscript_version >= 5.5 )
            IE_Version = "5.5";
        else if( @_jscript_version >= 5.1 )
            IE_Version = "5";
        else if( @_jscript_version >= 3 )
            IE_Version = "4";
        else
            IE_Version = "3";
    }
    alert("IE_Version.."+IE_Version);
    @else
    {
        IE_Version = @_jscript_version;
    }
    @end
@*/
if(IE_Version)
{
    IE_Engine = parseFloat(navigator.appVersion);
}
}
</script>
</head>
<body>
<form>
<input type="button" value="Click me!" onclick="checkIEVersion()" />
</form>
</body>
</html>
View Answers









Related Tutorials/Questions & Answers:
Is the logic correct to detect IE version..plz let me know
Is the logic correct to detect IE version..plz let me know  <... checkIEVersion() { var IE_Version; var IE_Engine; /*@cc_on @if( @_jscript_version < 9 ) { if( @_jscript_version >= 5.8 ) IE_Version
compile this program and let me know the resolution
compile this program and let me know the resolution  class Maxof2{ public static void main(String args[]){ //taking value as command line...+" is greater than "+i); } } please compile and let me know the resolution  
Advertisements
Please check it and let me know - Java Beginners
Please check it and let me know  Hi friends, your las suggession is not ok becoz this code give some error and problem,Today i m sending all code and requirement please check it and solve again thanks Requirements:- I
hi,i'am new to Jsp.Can some one please let me know an answer for this question?
hi,i'am new to Jsp.Can some one please let me know an answer for this question?  how do we upload an xml file and validate them against WIPO DTD
plz Help me find the correct programs answers
plz Help me find the correct programs answers   Create a washing machine class with methods as switchOn, acceptClothes, acceptDetergent, switchOff... INDICA" and "TATA NANO" respectively. Plz mail me your answers
Clear Question plz et me know immediately - Java Beginners
Clear Question plz et me know immediately   Hi Deepak your application is good,pls modify this application and let me know My problem is that, Steps: 1:- A form have three 3 button delete,insert,edit. 2
I didn't gat an output for this code, plz send me a correct code
I didn't gat an output for this code, plz send me a correct code  Hi, Here is my code: import java.awt.event.*; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import javax.swing.*; import java.sql.*; public
please let me get code how to insert a data to mysql using setter and getter method by using java
please let me get code how to insert a data to mysql using setter and getter method by using java  please let me get code how to insert a data to mysql using setter and getter method by using java pelease let me have the code
please let me get code how to insert a data to mysql using setter and getter method by using java
please let me get code how to insert a data to mysql using setter and getter method by using java  please let me get code how to insert a data to mysql using setter and getter method by using java pelease let me have the code
Pleae help me to give logic and code for this program - Java Beginners
Pleae help me to give logic and code for this program  Write a function that given the string ?original? create a new string ?dramatic? that has two consecutive copies of each letter from the original string. For example
autocomplete(): Spring mvc with jquery: I am not getting correct value in the text filed. Please help me
autocomplete(): Spring mvc with jquery: I am not getting correct value in the text filed. Please help me   Hi have develop the jsp to populate... filed?. Please help me Thanks
LOGIC
LOGIC  hey guys..i have my exams coming in somedays and it would be really helpful if someone explained how to develop the logic of any program
LOGIC
LOGIC  hey guys..i have my exams coming in somedays and it would be really helpful if someone explained how to develop the logic of any program
tell me i don't know about cms and history - Java Interview Questions
tell me i don't know about cms and history  what is cms,when can it is used ,what are the advantages and what are the more information about CMS
detect tap on uiimageview
detect tap on uiimageview  detect tap on uiimageview UIScrollView. Thanks
ModuleNotFoundError: No module named 'detect'
ModuleNotFoundError: No module named 'detect'  Hi, My Python... 'detect' How to remove the ModuleNotFoundError: No module named 'detect'... to install padas library. You can install detect python with following command
Launch of Toolbar in IE - WebSevices
Launch of Toolbar in IE  "I have created a toolbar with Java Swing I would like to know the steps about how to launch the toolbar in IE
I want Mini Java Project for Student Admission System. actually i want 2 know how 2 start this...please show me my way.....
I want Mini Java Project for Student Admission System. actually i want 2 know how 2 start this...please show me my way.....  I want Mini Java Project for Student Admission System. actually i want 2 know how 2 start this...please
ModuleNotFoundError: No module named 'let'
ModuleNotFoundError: No module named 'let'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'let' How to remove the ModuleNotFoundError: No module named 'let' error
ModuleNotFoundError: No module named 'let'
ModuleNotFoundError: No module named 'let'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'let' How to remove the ModuleNotFoundError: No module named 'let' error
You know - Java Beginners
reply me how can i solve.. Thanks  Hi Ragini, I don't know php. Can u say me how to install and configure then i will try. I know the logic but don,t know php. So if u feel free send me details. otherwise come online
ModuleNotFoundError: No module named 'alibi-detect'
ModuleNotFoundError: No module named 'alibi-detect'  Hi, My Python... 'alibi-detect' How to remove the ModuleNotFoundError: No module named 'alibi-detect' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'community_detect'
ModuleNotFoundError: No module named 'community_detect'  Hi, My... named 'community_detect' How to remove the ModuleNotFoundError: No module named 'community_detect' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'gpkg.object-detect'
ModuleNotFoundError: No module named 'gpkg.object-detect'  Hi, My... named 'gpkg.object-detect' How to remove the ModuleNotFoundError: No module named 'gpkg.object-detect' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'lang-detect'
ModuleNotFoundError: No module named 'lang-detect'  Hi, My Python... 'lang-detect' How to remove the ModuleNotFoundError: No module named 'lang-detect' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'ms-detect'
ModuleNotFoundError: No module named 'ms-detect'  Hi, My Python...-detect' How to remove the ModuleNotFoundError: No module named 'ms-detect' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'palette_detect'
ModuleNotFoundError: No module named 'palette_detect'  Hi, My... named 'palette_detect' How to remove the ModuleNotFoundError: No module named 'palette_detect' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'recursion-detect'
ModuleNotFoundError: No module named 'recursion-detect'  Hi, My... named 'recursion-detect' How to remove the ModuleNotFoundError: No module named 'recursion-detect' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'robot-detect'
ModuleNotFoundError: No module named 'robot-detect'  Hi, My Python... 'robot-detect' How to remove the ModuleNotFoundError: No module named 'robot-detect' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'roca-detect'
ModuleNotFoundError: No module named 'roca-detect'  Hi, My Python... 'roca-detect' How to remove the ModuleNotFoundError: No module named 'roca-detect' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'spritesheet-detect'
ModuleNotFoundError: No module named 'spritesheet-detect'  Hi, My... named 'spritesheet-detect' How to remove the ModuleNotFoundError: No module named 'spritesheet-detect' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'spritesheet-detect'
ModuleNotFoundError: No module named 'spritesheet-detect'  Hi, My... named 'spritesheet-detect' How to remove the ModuleNotFoundError: No module named 'spritesheet-detect' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'stylelens-detect'
ModuleNotFoundError: No module named 'stylelens-detect'  Hi, My... named 'stylelens-detect' How to remove the ModuleNotFoundError: No module named 'stylelens-detect' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'zhongkui-detect'
ModuleNotFoundError: No module named 'zhongkui-detect'  Hi, My... named 'zhongkui-detect' How to remove the ModuleNotFoundError: No module named 'zhongkui-detect' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'alibi-detect'
ModuleNotFoundError: No module named 'alibi-detect'  Hi, My Python... 'alibi-detect' How to remove the ModuleNotFoundError: No module named 'alibi-detect' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'cloud-detect'
ModuleNotFoundError: No module named 'cloud-detect'  Hi, My Python... 'cloud-detect' How to remove the ModuleNotFoundError: No module named 'cloud-detect' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'community_detect'
ModuleNotFoundError: No module named 'community_detect'  Hi, My... named 'community_detect' How to remove the ModuleNotFoundError: No module named 'community_detect' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'detect-attacks'
ModuleNotFoundError: No module named 'detect-attacks'  Hi, My... named 'detect-attacks' How to remove the ModuleNotFoundError: No module named 'detect-attacks' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'detect-delimiter'
ModuleNotFoundError: No module named 'detect-delimiter'  Hi, My... named 'detect-delimiter' How to remove the ModuleNotFoundError: No module named 'detect-delimiter' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'detect-duplicate'
ModuleNotFoundError: No module named 'detect-duplicate'  Hi, My... named 'detect-duplicate' How to remove the ModuleNotFoundError: No module named 'detect-duplicate' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'detect-secrets'
ModuleNotFoundError: No module named 'detect-secrets'  Hi, My... named 'detect-secrets' How to remove the ModuleNotFoundError: No module named 'detect-secrets' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'detect-wechat'
ModuleNotFoundError: No module named 'detect-wechat'  Hi, My... 'detect-wechat' How to remove the ModuleNotFoundError: No module named 'detect-wechat' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'django-detect'
ModuleNotFoundError: No module named 'django-detect'  Hi, My... 'django-detect' How to remove the ModuleNotFoundError: No module named 'django-detect' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'docker-detect'
ModuleNotFoundError: No module named 'docker-detect'  Hi, My... 'docker-detect' How to remove the ModuleNotFoundError: No module named 'docker-detect' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'gpkg.object-detect'
ModuleNotFoundError: No module named 'gpkg.object-detect'  Hi, My... named 'gpkg.object-detect' How to remove the ModuleNotFoundError: No module named 'gpkg.object-detect' error? Thanks   Hi, In your
i want to know how a slide will hide
will be hide.. and here im using logic iterate to getting the values from action class.. please if u know any answer regarding this tell me...i want to know how a slide will hide  when im click on the button
i want to know how a slide will hide
will be hide.. and here im using logic iterate to getting the values from action class.. please if u know any answer regarding this tell me...i want to know how a slide will hide  when im click on the button
Logic and desgin
Logic and desgin  How would this be put in visual logic symbol
create plugins to detect suspicious ajax
create plugins to detect suspicious ajax  I want to make browser extension for Firefox that detect the ajax code of of website that load the hidden... solution to detect this ajax at client side. if (xmlhttp.readyState==4 &&
How to detect system failure using java code - Java Beginners
How to detect system failure using java code  I am doing a project... to detect the process that make failure. I have no idea about the project so please help me. And i need some site to download java source code

Ads