[Javascript] Checkbox Focus
Peter Brunone
peter at brunone.com
Wed Jan 22 10:57:12 CST 2003
Dave,
I'm still a little confused. Could you perhaps illustrate with some source code so we have a starting point?
Cheers,
Peter
---------- Original Message ----------------------------------
From: "David Hannum" <hannum at ohio.edu>
Reply-To: javascript at LaTech.edu
Date: Wed, 22 Jan 2003 09:51:30 -0500
>Here's an interesting one. I'm generating a list of checkboxes dynamically.
>Now, the catcher is this. While all of the checkboxes have the same name,
>they are divided into three groups. The first group is one box which has
>the value equal to a comma delimited list of all the other checkbox values
>in the the first and second groups. The second group is a separate checkbox
>for each of the values found in the first group. The third group is one box
>with a comma delimited list of separate values. Now, here is what I need.
>A) If the user clicks the group one box, I need all boxes in groups two and
>three to clear.
>B) If the user clicks any box or boxes in group two, I need the group one
>box and the group three box to clear.
>C) If the user clicks the group three box, I need all boxes in group one
>and two to clear.
>
>I have it working for group one and two. But incorporating the third option
>is out of my league. Any help would be greatly appreciated.
>
>Kind Regards,
>Dave Hannum
More information about the Javascript
mailing list