the standard Visualforce AJAX
require three elements:
- The remote method invocation you add to the Visualforce page, written
- The remote method definition in your Apex controller
class. This method definition is written in Apex, but there
are some important differences from normal action methods.
- The response handler callback function you add to or include in your Visualforce page, written