Skip to content Skip to sidebar Skip to footer

If Conditional Statement Not Working With Ie 11

I am using IE 11 version. Is there any other solution to do the following: Nothing happens when I try to use conditional IE clause in the html webapge. Can anyone help me debug thi

Solution 1:

Conditional statements do not work in IE 10 or 11

Support for conditional comments has been removed in Internet Explorer 10 standards and quirks modes for improved interoperability and compliance with HTML5. This means that Conditional Comments are now treated as regular comments, just like in other browsers. This change can impact pages written exclusively for Windows Internet Explorer or pages that use browser sniffing to alter their behavior in Internet Explorer.

If you really need to execute code just on those browsers, and you probably shouldn't, you can use JavaScript to do some feature detection as an alterantive.

Post a Comment for "If Conditional Statement Not Working With Ie 11"