-
SP.js
-
SP.Core.js
-
SP.Runtime.js
SP.js : contains the main can be used to obtain sharepoint object data , such as the ClientContext , the Web , List , ListItem etc.
SP.Core.js : contains some useful helper objects and objects, it can be used to perform basic tasks such as HTML coding, the URL processing, the XML string manipulation
SP.Runtime.js : contains the core of the ECMAScript objects at runtime, it encapsulates the client object model and server interaction process all the details
SP.UI <**> JS.. : A series of SP.UI provides file starts with UI extension processing, such as SP.UI.Dialog.js included on the Dialog Framework Support
SP.Ribbon.js : included on the Ribbon to support the development of
If at this time are using the default master page, you need to reference these files again. If you are using a custom master page, you need to import a file, or references in the master page.
SharePoint provides a Debug version of js facilitate the development, but the need to refer to non-formal environmental Debug version.
In addition, if you have to modify the code SharePoint Content Database database, you need to join FormDigest:
Reproduced in: https: //www.cnblogs.com/lynn-lin/p/3766227.html