Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This chapter covers how SharePoint and jQuery can meet and work in harmony.
Integrating SharePoint and jQuery requires three tasks. The first task is putting the jQuery library in a location where it can be accessed in your SharePoint environment. The second task is loading the jQuery library in the SharePoint page, and the final task is creating an artifact that uses jQuery, such as an application page or a web part on a web part page.
We’ll describe each of these tasks in its own section. This chapter will show you how to deploy and make jQuery available, and in the next chapter, you will learn how to use it. You should be aware that it’s entirely possible to deploy, activate, and deploy a jQuery-enabled web part from within one solution. Separating these components, however, makes each a lot easier to manage. By using feature dependencies, you can make sure one feature has been deployed before the next is able to do so.