You can use <apex:actionFunction> tag in visualforce page which can be called from javascript and pass that javascript variable in that function and then in controller you can get that javascript variable and assign it to Apex variable.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
You can use <apex:actionFunction> tag in visualforce page which can be called from javascript and pass that javascript variable in that function and then in controller you can get that javascript variable and assign it to Apex variable.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
Hi,
You can use <apex:actionFunction> tag in visualforce page which can be called from javascript and pass that javascript variable in that function and then in controller you can get that javascript variable and assign it to Apex variable.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
All Answers
Hi,
You can use <apex:actionFunction> tag in visualforce page which can be called from javascript and pass that javascript variable in that function and then in controller you can get that javascript variable and assign it to Apex variable.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
It can be done using action function. A similar post exist( with same words) which answers your query..
http://boards.developerforce.com/t5/Apex-Code-Development/javascript-variable-to-apex-variable/m-p/461191
Revert if you've any doubts