http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
Or
Code:
<html>
<head>
<!--[if IE]>
<script type="text/javascript">
<!--
function show_alert()
{
alert("This Is Internet Explorer");
}
//-->
</script>
<![endif]-->
<![if !IE]>
// embed java script file
<script src="test.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function show_alert()
{
alert("This Is Not Internet Explorer");
}
//-->
</script>
<![endif]>
</head>
<body>
</body>
</html>
Corrections to my coding/thoughts welcome.
Bookmarks