JavaScript Class Library

Applies to: SharePoint Foundation 2010

This section contains the language reference for the namespaces of the ECMAScript (JavaScript, JScript) object model. This reference provides documentation for classes and members that are supported for public use in Microsoft SharePoint Foundation 2010.

For information about how to use the classes and members that are described in this reference, see SharePoint 2010 Client Object Model.

In This Section

The following table lists the namespaces in the JavaScript object model and indicates the .js files in which they are defined.

Namespace

JavaScript File

CUI Namespace

CUI.js, SP.UI.Rte.js

CUI.Controls Namespace

CUI.js

CUI.Page Namespace

CUI.js, SP.UI.Rte.js

SP Namespace

SP.Core.js, SP.js, SP.Ribbon.js, SP.Runtime.js

SP.ListOperation Namespace

SP.Core.js

SP.Ribbon Namespace

SP.Ribbon.js

SP.Ribbon.PageState Namespace

SP.Ribbon.js

SP.UI Namespace

SP.Core.js, SP.js, SP.UI.Dialog.js

SP.Utilities Namespace

SP.Core.js, SP.js, SP.Exp.js

SP.WebParts Namespace

SP.js

SP.Workflow Namespace

SP.js

SharePoint 2010 Client Object Model

Common Programming Tasks in the JavaScript Object Model

Server Ribbon in SharePoint Foundation

Web Parts in SharePoint Foundation

Workflows in SharePoint Foundation

See Also

Concepts

SharePoint Foundation 2010 Class Libraries

Other Resources

SharePoint Foundation 2010 General Reference

What's New in SharePoint Foundation 2010

Deciding Which SharePoint 2010 API to Use

Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008

Video: Using the SharePoint 2010 SDK Help

SharePoint Developer Center

SharePoint Developer Team Blog

SharePoint Stack Exchange