I want to get the value of disabled text box in our next jsp but I am getting a NULL value. Any idea what might be going wrong?.
Input fields marked with disabled="disabled" never send their value to the server when the form is posted. You could use the readonly="readonly" attribute in order to still make the field not editable by the user but send the initial value to the server when the form is submitted.
disabled="disabled"
readonly="readonly"
2.1m questions
2.1m answers
60 comments
57.0k users