Sep 24, 2019 in Salesforce
Q: Explain Javascript remoting for apex controllers?

1 Answer

0 votes
Sep 25, 2019
Use javascript remoting in VisualForce to call methods in apex controllers from javascript.

Javascript remoting has 3 parts.

The remote method invocation you add to the VisualForce page, written in javascript.

The remote method definition in your Apex controller class.

This method definition is written in apex, but there are few differences from normal action methods.

The response handles callback function you add to or include in your VF page, written in javascript.

Related questions

0 votes
Sep 26, 2019 in Salesforce
0 votes
Sep 24, 2019 in Salesforce
...