Hi

I have a div element full of checkboxes that gets hidden on page load via
$(document).ready(function() {$('#testDiv').hide(); }.

This works fine, but what I really want to do is to only hide the testDiv if
none of the checkboxes within it have a 'checked="checked"' attribute. All
I've managed to do so far is to hide/not hide the checkboxes that are
checked - not quite the result I was hoping for :)

Is this the sort of selection that JQuery can handle easily, or do I have to
write a function?

Many thanks

~GreyCells (now subscribed)
-- 
View this message in context: 
http://www.nabble.com/Hide-div-only-if-no-child-checkbox-is-selected-tf2817380.html#a7863621
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to