Woman In Tech: NAVIGATING THE DIGITAL WORLD

seeker, learner, educator and paying it forward… in short – Jigyaasu

Enable jQuery in SharePoint 2010

Posted by

·

, ,

These are the steps required to enable and use jQuery in SharePoint 2010.

  1. Download the latest jQuery from http://jquery.com/download/ (version 1.9.1)
  2. In the root site of your web application. Create a “Scripts” folder in “Style Library” using SharePoint designer  and upload the jQuery files(jQuery-1.9.1.js, jQuery-1.9.1.min.js) to the library.

Contents of Scripts folder in the Style LibraryContents of Scripts folder in the Style Library

  1. Edit v4.master page in advanced mode and add the script reference in the <head> tag. V4.master is the default master page for SharePoint 2010. http://../../../../StyleLibrary/Scripts/jquery-1.9.1.js
  2. Verify it is added to your site and works via Firebug/ IE – F12. in the console type $(“#MSO_ContentTable”).text(“Enabled jQuery”);

We can now see the text in the web page.

Swetha Sankaran, Microsoft MVP(2017-2020) | Gen AI enthusiast Avatar

About the author

Hi! My name is Joan Smith, I’m a travel blogger from the UK and founder of Hevor. In this blog I share my adventures around the world and give you tips about hotels, restaurants, activities and destinations to visit. You can watch my videos or join my group tours that I organize to selected destinations. [Suggestion: You could use the Author Biography Block here]

Discover more from Woman In Tech: NAVIGATING THE DIGITAL WORLD

Subscribe now to keep reading and get access to the full archive.

Continue reading