[Javascript] Form value
Lau
lau at goldenweb.com.au
Tue Aug 28 02:14:31 CDT 2001
No, it can only be a pre-set value.
But you can allways use javascript to change the value after it has been loaded.
window.document.Form1.quantity=3;
regards,
Lau
----- Original Message -----
From: Kelly <jkcravy at cox-internet.com>
To: <javascript at LaTech.edu>
Sent: Tuesday, August 28, 2001 8:49 AM
Subject: [Javascript] Form value
> 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
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
>
>
More information about the Javascript
mailing list