I am extreamly new to HTML,
my goal is to set a global js variable to true when my website is running on IE.
I started by writing
<script> var runningIE = false;</script>
<!--[if IE ]>
Special instructions for IE here
<script> runningIE = true;</script>
<![endif]-->
no matter where I put this code (header, body) I don't see Special instructions for IE here
printed anywhere not runningIE would be set to true on IE.
What am I missing here?