[Javascript] Form value

Kelly jkcravy at cox-internet.com
Mon Aug 27 17:49:54 CDT 2001


Hi,

<form name=ProdArray[k]>
<input type=text size=2 maxlength=3 name=quantity value = "1">
<input type="button" value="Edit Cart" onClick="AddCartCM(this.form)">
</form>

This works ok with a varible for the
form name.

Can value = (be a varible)

or must it be like :
value = "1" or 1 or "Hello"
But always pre-set.

Thanks, Kelly 




More information about the Javascript mailing list