Alex Rivera | Logout

I want to get the value of disabled text box in our next jsp but i am getting null value

Asked 2010-09-21T06:25:49.663
10

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?.

Edit
Report

1 Answer

31

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.

answered 2010-09-21T06:28:02.483

Your Answer