Multiple conditional statements in <head> of document

Viewed 2832

I've got a script I want to run in every browser except versions of IE below 9, obviously, this conditional statements works for IE:

<!--[if gt IE 8]>
    JavaScript stuff here
<![endif]-->

But that code is then not executed in any other browser except IE9.

Is there any way of using multiple conditional statements together, e.g.

<!--[if gt IE 8 OR !IE]>
    JavaScript stuff here
<![endif]-->
4 Answers
Related