Navigation: Developer Force | Integration | Data Integration | JavaScript Developer Resources

JavaScript Developer Resources

JavaScript is a popular programming language for building Web-based applications. The most common use of JavaScript is client-side in a Web browser, for implementing pages with enhanced, responsive user interfaces. Client-side JavaScript is also useful for calling XMLHttpRequest methods (GET, POST, etc.) to work with data managed by the remote Web server.


Server-side JavaScript frameworks (for example, node.js) are also available that let you build both sides of a Web-based application with JavaScript.

This page is a starting point for JavaScript-related development resources that you can use with Salesforce platforms.


Feature Articles



Conference Sessions

JavaScript REST Toolkit

The JavaScript REST Toolkit lets you build Web pages with JavaScript to leverage the REST API.

  • JavaScript in Visualforce pages cannot directly make use of the REST API due to same origin policy enforcement. To workaround this problem, JavaScript in Visualforce pages can use the RemoteTK Visualforce custom component or the ForceTK JavaScript library, both part of the JavaScript REST Toolkit, to leverage the REST API.
  • Any Web page, including pages hosted outside of Salesforce, can use the ForceTK JavaScript library to more easily code using the REST API.


Blog Posts



JavaScript Remoting for Apex Controllers

JavaScript remoting in Visualforce lets you call methods in Apex controllers from JavaScript, enabling you to create pages with complex, dynamic behavior that isn’t possible with the standard Visualforce AJAX components.


AJAX Toolkit

The AJAX Toolkit is JavaScript wrapper that abstracts the SOAP API. If your organization has API access, you can use the AJAX toolkit to build Visualforce pages with JavaScript that leverages the SOAP API to access data managed by


nforce Toolkit

nforce is a node.js REST API wrapper for and It supports many features, including simple API calls, helper OAuth2 methods, Express middleware, and streaming queries.