Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] check checkboxes in <fieldset>


  • From: list at tridemail.de (Michael Borchers)
  • Subject: [Javascript] check checkboxes in <fieldset>
  • Date: Tue Aug 29 05:06:20 2006

<fieldset id="usersGroups[3]">
<legend>Programmierung</legend>
<table width"100%" cellpadding="2" cellspacing="0" border="0">
  <tr>    <td><input type="checkbox" name="users_id[7]" value="22" 
onclick="usersIdCheckboxSelect(this)">A</td>
    <td><input type="checkbox" name="users_id[8]" value="32" 
onclick="usersIdCheckboxSelect(this)">B</td>
  </tr>
  <tr>
    <td><input type="checkbox" name="users_id[9]" value="40" 
onclick="usersIdCheckboxSelect(this)">C</td>
  </tr>
</table>
</fieldset>i need a function to get (later check) all checkboxes within a 
fieldset with a certain ID,in this case usersGroups[3], other fieldsets will 
follow.how can i get the elements?