[Javascript] counting checkboxes
Michael Borchers
list at tridemail.de
Thu Feb 16 05:27:32 CST 2006
----- Original Message -----
From: Michael Borchers
To: javascript at LaTech.edu
Sent: Thursday, February 16, 2006 12:24 PM
Subject: [Javascript] counting checkboxes
i count my checkboxes via
checkboxField.length = document.getElementsByTagName("checkbox");
there are several of them to be seen,
but around are <form>, fieldset, legend and a div.
i am getting a 0 as result.
do the other tags somehow block the document... count?
------------------------------------------------------------------------------
ups, i guess i will have to get my something to eat,
my brains down:)
sure, i need to count TagName("input") ;)
but by the way: can i get a Element by input Type? f.e. checkbox or text?!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20060216/b9b0379d/attachment.htm>
More information about the Javascript
mailing list