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
Vijay sidaraddiVijay sidaraddi 

How to use action button instead of using rerender in action function


Action fucntion is used to refresh the VF partial page using rerender  can i do it by using Apex button on that 

calling method  teh fucntionality is used for action attribute used is it possible can we do it through apex button if 

yes how?

Ashish DevAshish Dev
call actionfunction from commandbutton onclick event.
<apex:actionfunction name="actionfunctionname" action="actionmethodfromcontroller"rerender="anyxyzid" />
<apex:commandbutton onclick="actionfunctionname()" ></apex:commandbutton>