You can use the SharePoint client object model to retrieve, update and manage data in SharePoint 2013. SharePoint makes the object model available in several forms.
This article shows how to perform basic operations using the JavaScript object model. You can add a reference to the object model using HTML <script> tags.The following sections describe tasks that you can complete programmatically and they include JavaScript code examples that show the operations.Procedure: Open your SP Site in SharePoint 2013 Designer. Then select an Assets icon from the designer ribbon to add a JavaScript file.After adding a JavaScript file, the following file is available in the SharePoint Site Assets Folder:Go to the SP site page and add a new page to the SharePoint site.After adding a page select an Insert button in the Ribbon Menu.Then add a Content Editor Web part into the page.Edit the WebPart and add a JavaScript file link to the content link.Save the web part and save the page in site. Click the button!List Created Successfully.Source Code
Thanks for reading my article.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: