A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to store a js value in a java or jsp variable
Joined: Aug 14, 2007
Mar 17, 2008 07:44:00
I want to assign the return value of this function to a
How is it possible.
I have one method but dont know how efficient it would be,
I try assigning return value of a js function to a form object say textbox and then use request.getParameter to retrieve the value in java.
Thanks & Regards,
Joined: Dec 11, 2004
Mar 17, 2008 08:01:00
That is the correct way to do it.
code has already been run on the server.
The two do not ever directly interact.
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: how to store a js value in a java or jsp variable
interpret java code <% ..%> in .js file
missing name after . operator ?
Java embedded in .JS file not working
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013