<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=list@tridemail.de href="mailto:list@tridemail.de">Michael 
  Borchers</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu 
  href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, February 16, 2006 12:24 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] counting 
  checkboxes</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>i count my checkboxes via</FONT></DIV>
  <DIV><FONT face=Arial size=2>checkboxField.length&nbsp;= 
  document.getElementsByTagName("checkbox");</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>there are several of them to&nbsp;be 
  seen,</FONT></DIV>
  <DIV><FONT face=Arial size=2>but around are &lt;form&gt;, fieldset, legend and 
  a div.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>i am getting a 0 as result.</FONT></DIV>
  <DIV><FONT face=Arial size=2>do the other tags somehow block the document... 
  count?</FONT></DIV>
  <P>
  <HR>

  <P><FONT face=Arial size=2></FONT>&nbsp;</P>
  <P><FONT face=Arial size=2>ups, i guess i will have to get my something to 
  eat,</FONT></P>
  <P><FONT face=Arial size=2>my brains down:)</FONT></P>
  <P><FONT face=Arial size=2></FONT>&nbsp;</P>
  <P><FONT face=Arial size=2>sure, i need to count TagName("input") 
;)</FONT></P>
  <P><FONT face=Arial size=2></FONT>&nbsp;</P>
  <P><FONT face=Arial size=2>but by the way: can i get a Element by input Type? 
  f.e. checkbox or text?!</FONT></P>
  <P><FONT face=Arial size=2></FONT>&nbsp;</P></BLOCKQUOTE></BODY></HTML>