1. Action function can call the controller method from javascript. 2. Action support adds AJAX support to another visual force component and then call the controller method. for example:
Here action support adds AJAX to output panel, so once you click on output panel controller method will be called.
3. Action function cannot add AJAX support to another component. But from a particular component which has AJAX support(onclick, onblur etc) action function can be called to call the controller method. Example:
Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
1. Action function can call the controller method from javascript.
2. Action support adds AJAX support to another visual force component and then call the controller method.
for example:
Here action support adds AJAX to output panel, so once you click on output panel controller method will be called.
3. Action function cannot add AJAX support to another component. But from a particular component which has AJAX support(onclick, onblur etc) action function can be called to call the controller method.
Example:
please refer the below link for reference.
- https://sfdcpanther.wordpress.com/2017/10/04/difference-between-action-function-action-support-and-action-polar/
- https://apexcoder.com/2016/07/25/what-is-the-purpose-of-actionfunction-actionsupport-actionpoller-and-action-method-in-visualforce-pages/
Hope it helps.Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar
https://www.sfdc-lightning.com/2018/09/action-function-in-salesforce.html
https://www.sfdc-lightning.com/2018/09/action-support-in-salesforce.html