Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Form value
- From: javascript@xxxxxxxxxx (Lau)
- Subject: [Javascript] Form value
- Date: Tue, 28 Aug 2001 17:14:31 +1000
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@xxxxxxxxxxxxxxxx> To: <javascript@xxxxxxxxxx> 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@xxxxxxxxxx > http://www.LaTech.edu/mailman/listinfo/javascript > >
- References:
- [Javascript] Form value
- From: Kelly
- [Javascript] Form value
- Prev by Date: [Javascript] Form value
- Next by Date: [Javascript] DIV in a DIV
- Previous by thread: [Javascript] Form value
- Next by thread: [Javascript] DIV in a DIV
- Index(es):