GreyCells schrieb:
> Wow! Many thanks Chris, it worked a treat. There was me messing around with
> wildcards an' all :)
>
>
> Chris Domigan wrote:
>   
>> I think you can do:
>>
>> if (!$("#testDiv input:checkbox").is(":checked")) $("#testDiv").hide();
>>
>> (Notice the "!"). Not tested though.
>>     
Remember that is checks if at least one element matches. It may be not 
what you are expecting in other cases.

-- 
Jörn Zaefferer

http://bassistance.de


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

Reply via email to