how to send the value of "text box" even if it is grayed out/disabled in HTML?
- by mujahid
I m doing like this in java script :
document.getElementById(XYZ).value = '32768';
document.getElementById(ABC).value = '32768 ';
document.getElementById(XYZ).disabled = true;
document.getElementById(ABC).disabled = true;
when i m pressing submit it gives "0" as value.
BUT i want to retrieve above values.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
readOnly is an option but it changes the FONT COLOUR from gray to black,
but i want gray colored text in readOnly textbox
any help!!!!
thanx !!!