$('[type="checkbox"]:checked').each(function(){})

This works.

On Sep 24, 2:22 pm, "Jonathan Vanherpe (T & T NV)" <jonat...@tnt.be>
wrote:
> tried Sam Doyle's response yet? It looks like that might be the proper way.
> $("input[type=checkbox]:checked").each(function(){});
>
> Jonathan
>
>
>
> Xi Shen wrote:
>
> > tried, not working ;(
>
> > On Thu, Sep 24, 2009 at 5:03 PM, Jonathan Vanherpe (T&  T NV)
> > <jonat...@tnt.be>  wrote:
>
> >> Xi Shen wrote:
>
> >>> hi,
>
> >>> i have a group of check boxes, and i want to iterator over all the
> >>> checked ones. i use the following code, but without luck.
>
> >>> $("input[type=checkbox][checked=true]").each(function()...);
>
> >>> can someone give a better solution?
>
> >> [checked=checked] ?
>
> >> --
> >> Jonathan Vanherpe - Tallieu&  Tallieu NV - jonat...@tnt.be
>
> --
> Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be

Reply via email to