I want to use a command that is JScript specific (try...catch) I also want to provide an alternative for non-IE browsers. Can I put them both in the same function with a browser detection script? (i.e: if(IE){try...catch}
else{someting else})
I've tried this and it isn't working so I'm guessing the answer is no. So how could I do this?
else{someting else})
I've tried this and it isn't working so I'm guessing the answer is no. So how could I do this?