browser identification
<p>I want to identify if the broswer is IE then goto if block, other browser to else block in Java script.
I have one code here, </p>

<pre><code>var browserName=navigator.appName;
if(browserName == "Microsoft Internet Explorer"){
     IE code
}
else{
     Other code
}
</code></pre>

<p>but i want to know is there any other way of implementing it?</p>
