I have a .js file with a instruction that is causing problems in IE. My question is if there is any way of making that instruction to execute in all browsers except in IE.
I guess what I am looking for is something like conditional comments in HTML but for javascript. I know I could have two separate js files for each browser, but I would prefer a cleaner solution.
The solution can be plain js or JQuery.