Common Programming Tasks in the JavaScript Object Model - https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/hh185015(v%3Doffice.14)
下面的内容都可以在上面的链接里面找到。
How to: Work with Websites Using JavaScript
How to: Retrieve Lists Using JavaScript
How to: Create, Update, and Delete Lists Using JavaScript
How to: Retrieve List Items Using JavaScript
How to: Create, Update, and Delete List Items Using JavaScript
How to: Work with Users and Groups Using JavaScript
How to: Work with Roles Using JavaScript
How to: Break Role Assignment Inheritance Using JavaScript
How to: Add and Modify User Custom Actions Using JavaScript
How to: Work with Web Parts on a Page Using JavaScript