I want to prevent some parts of my javascript, written with jQuery if that matters, from executing in IE6. What are the prefered methods to accomplish this?
Thanks!
I want to prevent some parts of my javascript, written with jQuery if that matters, from executing in IE6. What are the prefered methods to accomplish this?
Thanks!
Since you have mentioned JQuery, why don't you use " if ($.browser.msie)" construction. I think this resource will be useful for you
You should just use a browser detection script and put a condition on IE6 that your scripts should not be executed. here is a link for browser detection javascript.
For your stated purpose, you should definitely use Progressive Enhancement instead of browser detection.