I used to check it this way:
$.browser.msie && $.browser.version == 8
But it seems that $.browser
has been removed from the later versinos of jQuery,
So,
How can I check that with just pure javascript?
I tried:
isIE8: navigator.appVersion.indexOf("MSIE 8") > 0
Wich seems to Do it, but it doesn't look that good and actually looks like it have many flaws...
Any better aproach?