JavaScript is not working on Internet Explorer 11 - even a simple alert() is not working, unless debugging mode (F12) is on.
I'm not using any console/log related code lines.
<script type="text/javascript" src="./Common/JS/jquery-2.1.1.min.js"></script>
<script type="text/javascript" language="javascript">
$(document).ready(function () {
alert('HERE');
});
</script>
Console Error:
Object doesn't support property or method 'addEventListener'
I know that this question has been asked multiple times but even in the comments people are saying that suggested solutions didn't work with IE 11