Filtering Items In A List


First of all a great well explained article! Just wondering how I could add hide / display a list of check boxes based on what “parent” check box is selected. So, if Food is selected, I want a list of “children” check boxes displayed showing for example, Indian, Chinese, Italian, Mexican, etc. Likewise, selecting Place check box should display check boxes Asia, Europe, Australia, North America etc. Any advice or code-sharing will be greatly appreciated.




Please disregard the above message. Thanks.


Did you figure it out?


Yes I did, by adding all the “children” check boxes in a div tag and then hide and display the contents based on the parent checkbox selection.