+ Start a Discussion
Vijay sidaraddiVijay sidaraddi 

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

HI 

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?

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