Possible Duplicate:
Detect Internet Explorer 6 or below in jQuery
Is there a way of detecting if the browser is pre IE7 (so IE6 or before) using javascript or jQuery?
I found a similar question on here where the answer was basically “don’t do that”. Well, I don’t care, I still want to 🙂
The most effective way:
If you want to run some JavaScript for only IE 6 and below, put a script block inside that conditional comment.
Reasons to use: