kim pham wrote:When the form is reload I set this field as
document.userform.movieIdHidden.value=1000;
In the JSP I read this value as:
string strmovie3 = request.getParameter("movieIdHidden");
kim pham wrote:I set the value in JavaScript because it is depending what the user selects in the dropdown box. The value can be different and it is not 1000 at all the time.
kim pham wrote:document.getElementById('movieIdHidden') is null when the form is reloaded again after setting this value in JavaScript with the value of 1000.
Is there any way that we can modify/set the JSP's variable in JavaScript?
I have defined movieId in the JSP and want to set this variable to different value in the JavaScript when the user selects different option in the dropbox.
kim pham wrote:No HTTP Request at all.
Consider Paul's rocket mass heater. |