peterb1985
MIS
I have five checkboxes and each check box represents a category for example: software,hardware,stationery....etc
Each of these categories has a set of sub categories which all have a checkbox for example the hardware category has the following options: desktops,notebooks,servers,handhelds....
I have a function which will select all the options of a category when the category checkbox is clicked, so if hardware is ticked the desktops,notebooks,servers and handhelds are also ticked.
What I would now like is if the desktops checkbox is ticked then the hardware checkbox should also show as ticked and the remaining options will stay unticked (unless the hardware category is unticked which would remove all ticked options).
Does anyone know how to do this or point me in the right direction?
Thanks
Each of these categories has a set of sub categories which all have a checkbox for example the hardware category has the following options: desktops,notebooks,servers,handhelds....
I have a function which will select all the options of a category when the category checkbox is clicked, so if hardware is ticked the desktops,notebooks,servers and handhelds are also ticked.
What I would now like is if the desktops checkbox is ticked then the hardware checkbox should also show as ticked and the remaining options will stay unticked (unless the hardware category is unticked which would remove all ticked options).
Does anyone know how to do this or point me in the right direction?
Thanks