function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
You can include the action attribute to call apex method.
Refer the below link.
https://salesforce.stackexchange.com/questions/145315/how-to-call-apex-method-from-command-button-on-custom-visualforce-page
If this helps, Please mark it as best answer.
Thanks!!