How to pass a javascript variable value to a jsp variable within the same jsp page?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, May 5, 2004 10:10 PM

How to pass a javascript variable value to a jsp variable within the same jsp page.

Re: How to pass a javascript variable value to a jsp variable within the same jsp page?

Posted By:   vasanth_tatta  
Posted On:   Thursday, May 6, 2004 05:25 PM

if there was a hidden input declared or infact any kind of html|jsp tag with a name then you can pass on a value from the script like this
say there is an input



in the javascript you can assign a value to this "test" like this

function callThisToAssign() {
document.formname.test.value = "what ever you want here";
}

regards.
About | Sitemap | Contact