Jump to content

checkbox problem


anujgarg

Recommended Posts

Hi Everyone,

 

I am facing a problem while managing a bundle of checkboxes. The scenario is as follows:

 

I have two checkboxes at top c1 & c2. Further, I have s1 & s2 sections with their respective subsections. Now, I have some more checkboxes that have been kept under these sections and subsections like:

 

c1  c2

 

s1

  cb  s1_1

  cb  s1_2 

  cb  s1_3

s2

  cb s2_1

  cb s2_2 

  cb s2_3 

 

When I click on c1 then the checkboxes respective to s1 and s2 are checked. But when I click on c2 then the checkboxes respective to s1 only should be checked.

 

How can I perform this task?

 

Please suggest...

 

TIA

Anuj Garg

 

Link to comment
https://forums.phpfreaks.com/topic/196147-checkbox-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.