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' loop? tenks joel