You need to sign in to do that
Don't have an account?
vinayakamurthy15
Action:function usage
while using action:function the page is automatically reloading and controller and constructor call is made .. i want to stop reloading how can i do that because once the page reloads the value in the variable resets as null..But i dont want that....
<apex:commandbutton onclick="return youJSFunctionname();"/>
Hi,
I assume actioin method in controller is returning null, could you please mark you action method as 'void' type. Something like below:-
Let me know if you have any question.
2) add rerender=" attribute in action function
3) make you method in controller Void
do ail these 3 steps and i hope your issues get resolve