i have found some difficulties and would like to seek help.
i am making a jsp which is a questionnaire for user to input score through a textfield. After user fill in the score, there is an onChange event evolving and then it will call a javascript function. This function is to getting the score input by user in order to calculate the score that the user can gain for the question. The gain score will be displayed on score column.
After user click "save" button, a confirmation page will be displayed. In this page, i would like to display the score input by user and also the score gained by user.
However, i can only get the score input by user, as i can use request.getParameter("textfieldname"). I would like to know how to get the score which is calculated by javascript function?? I have used a variable to store the score in the function, but how the confimation page (jsp) can get this variable value??
i am making a jsp which is a questionnaire for user to input score through a textfield. After user fill in the score, there is an onChange event evolving and then it will call a javascript function. This function is to getting the score input by user in order to calculate the score that the user can gain for the question. The gain score will be displayed on score column.
After user click "save" button, a confirmation page will be displayed. In this page, i would like to display the score input by user and also the score gained by user.
However, i can only get the score input by user, as i can use request.getParameter("textfieldname"). I would like to know how to get the score which is calculated by javascript function?? I have used a variable to store the score in the function, but how the confimation page (jsp) can get this variable value??