[jQuery] Re: multiple checkboxes showing/hiding a div

2008-12-18 Thread krozi...@gmail.com
at's essentially the same as > > $check.attr('checked') ? $('special').show('slow') : $('special').hide > ('slow'); > > (which is an if/else). And you don't need the IDs on the inputs. > > - ricardo > > On Dec 18,

[jQuery] multiple checkboxes showing/hiding a div

2008-12-17 Thread krozi...@gmail.com
Folks, I have two checkboxes. When either one is checked, I would like to show a div. When both are not checked, then I want the div hidden. However, I've only been able to use toggle to show and hide the div only when checking/unchecking one checkbox. It's not quite what I need. So far I hav