Translate

Showing posts with label Internet Explorer. Show all posts
Showing posts with label Internet Explorer. Show all posts

Wednesday, October 7, 2015

JQUERY - Object doesn't support property or method 'addEventListener' Error

Working on the new site and it works on my laptop for IE but loading from the site in IE it would come up was frozen. Nothing worked. Using the developer tools in IE I saw that I was getting the "Object doesn't support property or method 'addEventListener'" error in jquery. Added the following in the header of the JSP page fixed the problem:

 <meta http-equiv="X-UA-Compatible" content="IE=edge;" />

Thanks To

Monday, October 8, 2012

Tomcat - Authentication Problem With IE

I'm using the Waffle library for authentication in a web application. The authentication wouldn't work in Internet Explorer because the site is listed as one of the Intranet Sites in IE. The solution was to add the following JavaScript to the log in page:

<script type="text/javascript">
  document.domain="example.com";
</script>

Sunday, May 6, 2012

Tables Not Rendering Correctly in IE9

In the application that I'm working on I discovered that large tables were not rendering correctly in Internet Explorer 9. The same pages displayed correctly in IE8, Firefox, and Google Chrome. My first thought was that there was a problem in my page layout that only affected IE9. I looked over the HTML but couldn't find anything wrong. What I did notice was a large amount of white space. I wondered if that could cause the problem so I added the following to the top of the JSP page to strip out the extra white space.

<%@ page trimDirectiveWhitespaces="true" %>

Problem solved!