[thelist] JavaScript array notation and similarly named form elements

Joel Canfield joel at spinhead.com
Tue Apr 1 16:16:15 CST 2003

I have a group of text fields named WBE1, WBE2, . . . WBEn which, on some
JavaScript event (onclick, onchange, whatever) I need to clear.

How can I loop thru all these similarly named elements without knowing in
advance how many there are, or how can I take a count to use in a 'for'



More information about the thelist mailing list