I saw in one of the website name “java-tips.com”.. In that there was a topic as mentioned below,
“How do we exchange data between Java and JavaScript and vice-versa”.
They have explained about “how to get values from java to javascript”.. However they have not explained about “how to get values from javascript to java”.. If in case knows an explanation for the latter, please go ahead and explain. Thanks in advance..

Regards

(Disclaimer: I mentioned the site name for the sake of verification. There is no ill motto behind it.)