Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] counting checkboxes
- From: list at tridemail.de (Michael Borchers)
- Subject: [Javascript] counting checkboxes
- Date: Thu Feb 16 05:27:17 2006
----- Original Message -----
From: Michael Borchers
To: javascript@xxxxxxxxxx
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?!
-------------- n?chster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20060216/b9b0379d/attachment.html
- Follow-Ups:
- [Javascript] counting checkboxes
- From: Steve Clay
- [Javascript] counting checkboxes
- References:
- [Javascript] counting checkboxes
- From: Michael Borchers
- [Javascript] counting checkboxes
- Prev by Date: [Javascript] counting checkboxes
- Next by Date: [Javascript] DevToolbar
- Previous by thread: [Javascript] counting checkboxes
- Next by thread: [Javascript] counting checkboxes
- Index(es):