What browser?

On occasion, many occasions, web browsers don't treat javascript the same way. Usually the issue is with Internet Explorer not acting like other browsers, so it can be useful to know if your user's browser is IE or not. Here is a little function that can tell you what browser is being used.

1 Comment »

  1. [...] you recall I had written 3 previous JavaScript related posts, Add to Window on Load, What Browser? & Unobtrusive JavaScript is easy all of which came to a total of 37 lines of code. With JQuery [...]

    Pingback by Design By Blake » Why you should use JQuery — August 10, 2008 @ 7:49 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment