I was almost there... Thank You ----- Original Message ----- From: "Håkan Magnusson" <hakan at backbase.com> To: "[JavaScript List]" <javascript at LaTech.edu> Sent: Tuesday, March 02, 2004 10:54 AM Subject: Re: [Javascript] form field maxlength > The value is stored in the maxLength property of the input. > > document.MyForm.MyTextBox.maxLength > > Regards, > H > > Paul McGuire wrote: > > > I have a form called MyForm > > > > a textbox called MyTextBox > > > > it has a MaxLength of 20 > > > > How do I access the MaxLength attribute of this form via JavaScript > > programatically? > > > > I imagine it will be something like > > > > document.MyForm.MyTextBox.maxlength.value > > > > but that does not work > > > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript >