Problem in disabling Text Boxes
If I disable a text button, I'm not able to copy the value to the database field. What cud be the reason?
The value where the textbox is diabled is being displayed on the screen and all other text fields values(Which r not disabled), I can copy them to database fields
# 4
You could pass a hidden value with the total in your form to the server.
Why use a text box if the user does not get to edit it? Use out.print or javascript instead.
# 5
This will make you text box readonly
<input type="text" name="textName" value="" id="textId" readonly="readonly"/>
To change the readOnly state of the text box using javascript , you may use
document.getElementById('textId').readOnly=false;
or
document.getElementById('textId').readOnly=true;
when you are accessing through javascript the property name is readOnly. The "O" is caps.