1.

How To Add Javascript Remoting To A Vf Page?

Answer»

To use javascript remoting in a vf page , add the REQUEST as a java SCRIPT INVOCATION with the following from.

[namespace.] CONTROLLER.method ( 

[PARAMETERS….,]

Call back Function,

[configuration]

);

  • Name space is the namespace of the controller class
  • Controllers is the name of your apex controller.
  • Method is the name of your apex controller method you are calling.
  • Parameters is the comma-separated list of parameters that your method takes.
  • Callback function is the name of the javascript function that will handle the response from the controller.
  • Configuration configures the handling of remote call and response.

To use javascript remoting in a vf page , add the request as a java script invocation with the following from.

[namespace.] controller.method ( 

[parameters….,]

Call back Function,

[configuration]

);



Discussion

No Comment Found