> I am setting the value of a disabled text input form element with
> JavaScript. How can I retrieve its value in Java?
>
> request.getParameter(textInputID);
>
> always seems to return 'null'.
<http://www.w3schools.com/tags/tag_input.asp>
The 'disabled' attribute "[d]isables the input element when it first loads so
that the user can not write text in it, or select it."
So it is never entered into the request as a parameter.
Thus a server-side attempt to retrieve this value that was never entered into
the parameter list will always receive null. Because the parameter isn't
there. Because its input was disabled.

Signature
Lew
Sisilla - 05 Mar 2008 19:20 GMT
Thanks, Lew. I made the element read-only instead of disabled and used
css to give it the look of a disabled element. Thanks for your help.
~Sisilla