Skip to content

Instantly share code, notes, and snippets.

@srujan21
Created July 21, 2016 05:01
Show Gist options
  • Save srujan21/c0607f89891951fa463325994b8ba07b to your computer and use it in GitHub Desktop.
Save srujan21/c0607f89891951fa463325994b8ba07b to your computer and use it in GitHub Desktop.
A way of invoking apex method from javascript
<apex:page controller="actionfun">
<apex:form >
<apex:actionFunction action="{!call}" name="hold"/>
</apex:form>
<script>
hold();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment