How to remove a script if browser is IE10
How can I remove a script if the browser is IE10?
I tried to do it like this:
<!--[if !IE]-->
<script type="text/javascript" src="js/script.js"></script>
<!--[endif]-->
But since IE10 doesn't support conditional comments anymore, it still
loads the script.
Any ideas?
No comments:
Post a Comment