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
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