[thelist] DOM: Counting text Inputs in a form?

Erik Mattheis gozz at gozz.com
Mon Mar 3 15:22:00 CST 2003


On Monday, March 3, 2003, at 03:15  PM, Tom Dell'Aringa wrote:
>     textArray[i] = YourForm.elements[i].value;

or, more eloquently, push it:

textArray.push(YourForm.elements[i].value);

I love da pushin, da poppin, da shiftin' da unshiftin', an' da slicin'.
Who needs a Cuisinart when you have array methods?

-----------------------
Erik Mattheis
GoZz Digital
<http://goZz.com/>
Flash and ColdFusion Development
Minneapolis, MN
-----------------------




More information about the thelist mailing list