Home > Code > Javascript > Check javascript is enabled in internet explorer using javascript

Check javascript is enabled in internet explorer using javascript

by Narain Siddharth   on Feb 13, 2011   Category: Javascript   |  Views: 1203    |  Points: 25   |  Silver 


Please find the below code for check javascript is enabled in IE using javascript.
<html>
<head>
<SCRIPT language="JavaScript">
var browsrName=navigator.appName;
var browsrVersn=parseInt(navigator.appVersion);
if (browsrName=="Microsoft Internet Explorer" && browsrVersn>=4)
version="3";
else
version="2";
if (version=="3")
alert("javascript is enabled");
else
alert("Need to upgrade the Internet Explorer");
</SCRIPT>
</head>
<body>
</body>
</html>




Post Code  |  Code Snippet Home

Recent Posts

User Responses


No response found, be the first to review this code snippet.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts