[Cialug] JS Question
L. V. Lammert
lvl at omnitec.net
Mon Jan 28 15:28:26 CST 2013
On Mon, 28 Jan 2013, Barry Von Ahsen wrote:
> I'm not sure if this.form is valid for a child of said form. does it
> work passing document.form (or document.form[0])?
>
It works fine for lines 3-5, why would line one be different?
TFTR!
Lee
> > function UpdateTotal(VV) {
> > if (VV.PrintedAlso.value=="1") { VV.TotalPrinted.value=5; } <<
> > else { VV.TotalPrinted.value==0; }
> > VV.TotalRegular.value = fmt(sub1=VV.NumRegular.value * 10.00);
> > VV.TotalJunior.value = fmt(sub2=VV.NumJunior.value * 2.00);
> > VV.TotalPrinted.value = fmt(sub3=VV.TotalPrinted);
> > VV.GrandTotal.value = fmt(sub1 + sub2 + sub3);
> > }
> >
More information about the Cialug
mailing list