in Salesforce by
Explain Javascript remoting for apex controllers?

1 Answer

0 votes
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.