Check ie 6.0 or other


i check if it’s an ie or netscape, but can you also check the version of ie?

this is the code that i have for the first, can somebody say how i can do to check the version?

/By George Chiang (JK’s JavaScript tutorial)
Credit must stay intact for use
var n=navigator.appName
var ns=(n==“Netscape”)
var ie=(n==“Microsoft Internet Explorer”)
if (ns)
else if (ie)