Question

My JQ and CAML code are working on chrome. IE is not. I'm using SharePoint 2010 and my documentation mode is 8(default).

When I changed 8(default) to 10 or edge, it works fine, but the problem is when I refresh the site , it will automatically change to 8(default).

Was it helpful?

Solution

Here is my suggestion:

  1. Check your code, like $(document).ready(function() and others

  2. Don't use latest version of jQuery 3.2.0 min for SharePoint 2010. Instead use this version: jQuery 1.4.4.min.js.

OTHER TIPS

You can change the IE compatible version from a master page.

<head>
   <meta http-equiv="X-UA-Compatible" content="IE=9"/>
   .....
   .....
</head>

Refer to IE compatibility support for SharePoint 2010 site.

P.S. Try with IE=9 or IE-10

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top