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
nareshnaresh 

diff between actionfunction and remote action

what is the diff between action function and remote action
Shashikant SharmaShashikant Sharma
actionFunction : is way to make AJAX call to server from java script. In this view state could be posted to server ( If immediate = false ) or values could be passed using apex:param ( If immediate = true ) . Visualforce could be rerendered from actionFunction.

Remote Action : is a way to call server methods from java script, also known as JavaScript remoting. Here visualforce could not be rerendered but the response is fetch and used in callback fucntion.