I dare say someone can offer a better solution for your first request:
To know whether all checkboxes are checked. I'd probably try !$
("#id1,#id2,#id3").is(":not(:checked)") which returns true if all are
unchecked (Note the ! at the beginning).

Your second request is easy: To know whether at least one is checked
use $("#id1,#id2,#id3").is(":checked") which returns true if any are
checked..

George

On Aug 18, 9:28 pm, Potluri <[EMAIL PROTECTED]> wrote:
> Hi,
>   Is there a way to check a multiple check boxes checked at a time like.
> <input type='checkbox' id="id1"/>
> <input type='checkbox' id="id3"/>
> <input type='checkbox' id="id9"/>
> <input type='checkbox' id="id4"/>
>
> Is there  a way to check like $("#id1,#id2,#id3").attr("checked"); should
> return true if all of them is checked.
>
> and also is there a way to return true if atleast one of them is checked
> like $("#id1||#id2||#id3").attr("checked"); should return true if atleast
> one id is checked.
>
> I'm waiting for staright response.
>
> Thanks in advance.
>
> --
> View this message in 
> context:http://www.nabble.com/How-to-check-multiple-checkboxes-checked-at-a-t...
> Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to