Topic awaiting preservation: Variable question, please. |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: NZ |
posted 08-05-2003 01:56
Hi, guys. How are you? code: <script type="text/javascript">
code: <script type="text/javascript">
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-05-2003 02:06
The reason the first code doesn't work is that, when you assign Kilo to form1.kilo.value, the value of the form input is *copied*, and put into the Kilo variable. The Kilo variable is now completely separate from the form input. You can set Kilo to whatever you want, and the form input will no longer change. |
Paranoid (IV) Inmate From: NZ |
posted 08-06-2003 06:21
I have been reading your explanation, Slime. |