How to automatically uncheck a checkbox if another checkbox is checked through javascript?

Posted by Sandipan on Stack Overflow See other posts from Stack Overflow or by Sandipan
Published on 2010-06-01T06:03:50Z Indexed on 2010/06/01 6:13 UTC
Read the original article Hit count: 183

Filed under:

I have a checkbox Birthdate which shows the mm/dd only.And below it there is another checkbox called ShowYear which shows the year and this checkbox is only visible if the Bithdate checkbox is checked.

Now I want to uncheck the ShowYear checkbox automatically if the Birthdate checkbox is unchecked through javascript.

© Stack Overflow or respective owner

Related posts about JavaScript