0

I have a document library that is generating some jquery errors when I am opening the library.

The documents open up as they are supposed to but some libraries in the site are generating the below errors:

Blocked loading mixed active content "http://code.jquery.com/jquery-latest.min.js"[Learn More] Strategic%20Management.aspx
ReferenceError: jQuery is not defined
 Strategic%20Management.aspx:685:1
Use of Mutation Events is deprecated. Use MutationObserver instead. mquery.js:1:16253
unreachable code after return statement sp.ribbon.js:2:177246

I am trying to click on the ... but nothing is happening.

enter image description here

enter image description here

This seems to happen when I use used the View 'All Documents'

2

Reason is that your site is on HTTPS but you are loading jQuery from HTTP. That causes this error as this is mixed content and potentially unsafe. Change the link to jQuery to use HTTPS instead and the error will disappear.

6
  • Thanks for you answer. I need to modify the master page with sharepoint designer to switch to HTTPS? Or is there another method?
    – Brian
    Jun 22 '16 at 10:57
  • No, you have to change the link to jQuery from HTTP to HTTPS. https://code.jquery.com/jquery-latest.min.js instead of code.jquery.com/jquery-latest.min.js Jun 22 '16 at 10:58
  • Yes, but there isn't any custom code on the page. I don't know from where I can modify it.
    – Brian
    Jun 22 '16 at 11:00
  • But threre is jQuery somewhere. Could be on the masterpage or in a Script Editor Webpart or Content Editor Webpart. But somewhere you are loading jQuery and this link has to be changed. Alternatively you can deactivate the mixed-content check in your browser. But that you will have to do on each and every browser that is accessing the site. So it would be simpler just to change the link to jQuery. Jun 22 '16 at 11:02
  • almost there...if you are unable to find the location check in developer tool, in Scripts tab you will find your jquery link..check from which location it is coming from Jun 22 '16 at 11:27

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.