How to assign the value of JavaScript string variable to JSP String variable.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abdul_Ambalam
Posted On:   Thursday, September 12, 2002 01:57 PM

Hi,
I have a javascript string variable. I need to assign the value to java variable in runtime. can I do that?

Re: How to assign the value of JavaScript string variable to JSP String variable.

Posted By:   rajeev_kumar  
Posted On:   Friday, September 13, 2002 06:20 AM

No , you cannot do that, since the server side..code will executed first..so u can assingn the server side value to the javascript variable but not other way round, what u can do is u have assign the javascrip var value to some hidden variable and submit the form so that it availabe to the server for some further processing.

Hope This Helps
About | Sitemap | Contact