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
SS KarthickSS Karthick 

ActionFunction Vs ActionSupport

Hi folks,

Can anyone tell me what is the purpose of Actionfunction and Action Support component in visualforce?
How it’s differ from each other?



Thanks in advance
Karthick
Best Answer chosen by SS Karthick
Virendra ChouhanVirendra Chouhan

All Answers

Virendra ChouhanVirendra Chouhan
This was selected as the best answer
Sparky JaneSparky Jane
1) difference is in case of Action function we invoke AJAX using Java script while in case of Action support we may directly
invoke method from controller

2) Other difference is Action function may be commonly used from different place on page while action support may only be used for particular single apex component.