Friday, 4 April 2008
Here's a neat way to detect IE7 and newer browsers with JavaScript that should be future proof as well:

if (!(window.XMLHttpRequest)) {
//do stuff for IE6 and older browsers here
}
blog comments powered by Disqus