[Javascript] getting input elements

Paul Cowan dagda1 at hotmail.com
Tue Jul 15 14:26:04 CDT 2003


Alan,

Use the DOM to get the various elements.

e.g.

ie5:

var myElement = document.all.myElement;

ie 5.5+

var myElment = document.getElementByID('myElement');

Check google

Paul



dagda1 at hotmail.com





>From: Alan Roberto Romaniuc <romaniuc at klais.com.br>
>Reply-To: "[JavaScript List]" <javascript at LaTech.edu>
>To: "[JavaScript List]" <javascript at LaTech.edu>
>Subject: [Javascript] getting input elements
>Date: Tue, 15 Jul 2003 15:37:03 -0300
>
>
>Hi,
>
>       I have a page with a lot of input elements, but without a form. How 
>can I get, p.g., only the checkbox inputs to build a request url?
>
>Tanhks
>
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript

_________________________________________________________________
Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile



More information about the Javascript mailing list