Select Page
This entry has been published on 2015-02-19 and may be out of date.

Last Updated on 2015-02-19.

This error might appear if you have developed a website in your local testing environment which uses JS utilities like Bootstrap, JQuery, Prototype or Scriptaculous, after you have published it e.g. to your local company intranet.

jquery addeventlistener

Cause

JQuery and similar utils don’t seem to like IE compatibility mode, which is enabled by default. Additionally, there might be some <meta> content missing.

Solution

In most cases the following line solves the problem. Insert it between your <head> tags.

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

What you also can do is to disable compatibility mode for intranet sites in Internet Explorer. Open Settings -> Compatibility View settings -> uncheck the “intranet” checkbox.