You need to sign in to do that
Don't have an account?

How to pass values from javascript to Apex controller(Urgent)
Hi All,
We have one problem regarding passing values from JavaScript function to Apex controller. Let us know if anyone has solution.
Any help would be appreciated.
Try creating an <apex:inputHidden> component in your VF page. Then your JavaScript code can assign a value to that component. When your controller runs, it can pick up the value from there.
Can you please explain with example?
Thanks in advance.
You can pass back javascript values with the apex param component. See this blog post.