The below script works properly on the firefox and hides the Page Rating & Last modified divs however it is not working on IE-10, am I missing anything?

<script type="text/javascript" src="../PublishingImages/jquery-2.0.3.min.js"></script>
<script type="text/javascript">
      $(document).ready(function() { 
  • could u check for the browser mode and Document mode of IE. Set it to Standard for both and then check. – Pushpendra Nov 14 '13 at 18:06
  • yes, it works...however I may not expect all the users to do it...is there a fix? – Karthikeyan Nov 14 '13 at 18:08
  • Are you seeing an JS errors in the IE Developer Toolbar? – John Chapman Nov 14 '13 at 18:11
  • 4
    For full backward compability you should use the 1.x versions of jQuery (this goes for the very majority on SharePoint installations) – Robert Lindgren Nov 14 '13 at 18:12
  • No, I dont see any JS errors..whereas could see anything related to html.."<body>" tag found. Only one "<body>" tag should exist per document. – Karthikeyan Nov 14 '13 at 18:13

jQuery 2.x explicitly doesn't support IE 6-8; the document mode that SharePoint 2010 sets may be causing problems (i.e. causing IE 10 to act more like IE8). As Robert suggests, try the latest 1.x jQuery instead.

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.