As the question states, What different ways can jQuery be added to SharePoint?

Lets say that we have deployed jQuery to SharePoint.

We can add it through:

  • Master Page.

  • Adding it to a new Site through a Feature Event Receiver.


Can jQuery be added with JavaScript? If YES, would a good way to do this, to have a addJQuery.js file that can be included in the JS-Link property?

What other ways are available?

2 Answers 2


You could also link it through a Custom Action. You can find more information about this approach at http://weblogs.asp.net/jan/archive/2010/03/01/scriptsrc-referencing-javascript-files-with-sharepoint-2010-custom-actions.aspx

  • 1
    Custom action is probably the most sustainable model (thinking about the app model) Commented May 22, 2014 at 16:54

You can add Jquery refernce directly to the master as it will required on many pages.

Following links will help you how to add this:

How to add JQuery library in SharePoint 2013?

Adding jQuery to master page


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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