Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can I copy a javascript variable into a JSP variable?

Status
Not open for further replies.

osaavedra

Programmer
Feb 20, 2001
2
ES
I need to copy a javascript variable into a JSP variable. Does anyone know how I can do that and if it's possible?
 
Use javascript to send the value to a hidden field, then retrieve in jsp w/ request.getParameter(---fieldname---);
 
Thanks talkingstone, but I need to do it inside one jsp page. I mean, I can copy jsp variables into javascript variables with <%= ...%> but I don't know how to do it from javascript to jsp.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top