I want to check for IE and ask user to change brouser. I tried:
<!--[if IE]>
<p>rrff</p>
<script type="text/javascript">
alertify.alert("Please change your brouser");
</script>
<![endif]-->
<!--[if gte IE 8]>
<script type="text/javascript">
alertify.alert("Message");
</script>
<![endif]-->
<!--[if lt IE 7]>
<script type="text/javascript">
alertify.alert("Message");
</script>
<![endif]-->
(took it from Microsoft - http://msdn.microsoft.com/en-us/library/ms537509(v=vs.85).aspx) But it show no result, except of termination of IE in two cases :)
How to check for IE and all related brousers to it? Too many functions fail here....