1

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).

  • Did you check your browser console and see what is the error? And post your sample code. – Venkat Konjeti Jun 12 '17 at 19:28
  • "The value of the property '$' is null or undefined, not a Function object" If I changed to 10, it works fine. – Sai Jun 12 '17 at 19:29
  • This means your jQuery file is not loading. Which version of library is this? – Venkat Konjeti Jun 12 '17 at 19:31
  • I am using jq 3.2.0 min and also I tried jq 1.4.4.min – Sai Jun 12 '17 at 19:33
  • Did you execute your methods under document ready function? – Venkat Konjeti Jun 12 '17 at 19:35
4

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.

0

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

  • In the head tag you can add as a first line of statement – Venkat Konjeti Jun 12 '17 at 19:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.