I need to include a js file on all browsers (IE less than 11).
I have this in my header
<!--[if lt IE 11]><!-->
<script>
console.log('shouldnt see this on ie less than 11.');
</script>
<script type="text/javascript" src="/nothinglikeit/js/ie.js"></script>
<!--<![endif]-->
Funny enough, this works on IE9, but it DOESN'T work on ie10? Why is that?
From what I've read, IE10 ignores conditional statements, however I do need to include it regardless, is there a way I can do this with conditional statements?