hello all,
I have recently created the following JS wich works perfectly except it is not showing the 0 (zeros) values in the targeted text box.
For example a 0.00 value does not show nothing and 13.50 shows as 13.5
can you help?
here is a sample of my code
and text box
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
- Doh
I have recently created the following JS wich works perfectly except it is not showing the 0 (zeros) values in the targeted text box.
For example a 0.00 value does not show nothing and 13.50 shows as 13.5
can you help?
here is a sample of my code
Code:
if (prempack == 4)
{
premsum = 20.00;
}
thisform.premoutput.value = premsum;
and text box
Code:
<input type="text" name="premoutput" size="4" readonly="true"/>
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
- Doh