I would like to temporary exclude all version of the Internet Explorer (IE) from a specific part in my typo3 html file. I tried to comment it out this way:
<!--[if !IE]> -->
<p>Some content here</p>
<!-- <![endif]-->
This method does not work.
Does anyone has a solution for this problem?
The Conditional comments (
<!--[if !IE]> -->) have been removed in Internet Explorer 10, so, it only works before IE9 version.To detect all IE versions using JavaScript, I suggest you could check the userAgent string. Under the IE 9 version, you could use the conditional comments to control the comments, for IE 9+ version, you could use JavaScript to hide the comments.
Please check the following sample: