function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rushirushi 

ajax request

Hello everyone,

Can anybody explain me, how we will use ajax request actions
actionfunction, actionPoller,actionsupport,actionstatus and actionregion on standard objects with examples

​Thanks in advance................
Mahesh DMahesh D
Hi Rushi,

apex:actionFunction

A component that provides support for invoking controller action methods directly from JavaScript code using an AJAX request. An <apex:actionFunction> component must be a child of an <apex:form> component.

apex:actionPoller

A timer that sends an AJAX request to the server according to a time interval that you specify. Each request can result in a full or partial page update.

apex:actionSupport

A component that adds AJAX support to another component, allowing the component to be refreshed asynchronously by the server when a particular event occurs, such as a button click or mouseover.

apex:actionStatus

A component that displays the status of an AJAX update request. An AJAX request can either be in progress or complete.

apex:actionRegion

An area of a Visualforce page that demarcates which components should be processed by the Force.com server when an AJAX request is generated. Only the components in the body of the <apex:actionRegion> are processed by the server, thereby increasing the performance of the page.

All the corresponding examples you can find from below link:

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_actionFunction.htm

https://success.salesforce.com/answers?id=90630000000hU2kAAE

http://sfdcsrini.blogspot.com/2014/07/visualforce-action-function-example.html

http://www.salesforcetutorial.com/actionfunction-tag/


Please do let me know if it helps you.

Regards,
Mahesh