+ Start a Discussion
prabhat jhaprabhat jha 

Can anyone provide me a scenario where it would be better to use javascript to call action function instead of calling it directly from visualforce page

I have seen many codes where actionfunction is used and it is called from javascript ,why we require javascript if we can call the controller method on click of command buttons..
Kaustubh LabheKaustubh Labhe
Hey,Please refer to this:
https://developer.salesforce.com/forums/?id=906F0000000MI6jIAG