Activity Forums Salesforce® Discussions Explain Javascript remoting for apex controllers in Salesforce?

  • Hariom Chaudhary

    Member
    August 28, 2019 at 8:01 am

    Hi,

    JavaScript remoting in Visualforce is used to call methods in Apex controllers from JavaScript.

  • Somendra

    Member
    August 28, 2019 at 9:35 am

    JavaScript remoting is a tool that front-end developers can use to make an AJAX request from a Visualforce page directly to an Apex controller. JavaScript remoting allows you to run asynchronous actions by decoupling the page from the controller and to perform tasks on the page without having to reload the entire page.
    In addition, JavaScript remoting can help alleviate view state issues while still executing in the context of the user viewing the page. JavaScript remoting is the most efficient way of calling the controller and passing data in from the page, because you can ensure that you’re passing only the data that you need each time that you make a call.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos