Prototype: Enable checkboxes list of a specific checkbox is checked

Posted by BoDiE2003 on Stack Overflow See other posts from Stack Overflow or by BoDiE2003
Published on 2010-05-06T15:32:46Z Indexed on 2010/05/06 15:38 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

Guys, Ive been using jquery to do this, but now I need to do it with Prototype and Im little confused due lack of documentation

I have 2 lists of check boxes

First List:

Check box 1
Check box 2

Second list:

Check box x
check box y
check box z

I need the JS code, using prototype to work like this: Second list, remains disabled unless I check one of the checkboxes of the First List.

Any suggestions, or help, please!

Thankyou.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about prototype