faqts : Computers : Programming : Languages : JavaScript : Applets/Java

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

32 of 120 people (27%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

How do I access a javascript variable (eg. obtained from onChange event) in a JSP page ?

Aug 22nd, 2001 05:12
Jean-Bernard Valentaten, Rohit Kulkarni,


Since you're using server-side-jsp, you'll have to put the js-vars into 
hidden inputs (<form><input type="hidden">...) and pass them that way.
HTH