What’s the shortest javascript code to sniff if the browser is IE8.
I want to do something special just for IE8
I don’t want to wire up a library that gives me back all the browsers and the versions.
I just want to write one or two lines to work out if it’s IE8.
thanks
zo
You can do this in HTML, by using this:
Also take a look at this tutorial: http://msdn.microsoft.com/en-us/library/ms537509%28v=vs.85%29.aspx