[jQuery] Re: select cannot check checkboxes' states

2009-09-24 Thread Xi Shen
yes, Jonathan's method works. thanks a lot ;) On Thu, Sep 24, 2009 at 5:28 PM, g...@iec wrote: > > $('[type="checkbox"]:checked').each(function(){}) > > This works. > > On Sep 24, 2:22 pm, "Jonathan Vanherpe (T & T NV)" > wrote: >> tried Sam Doyle's response yet? It looks like that might be t

[jQuery] Re: select cannot check checkboxes' states

2009-09-24 Thread g...@iec
$('[type="checkbox"]:checked').each(function(){}) This works. On Sep 24, 2:22 pm, "Jonathan Vanherpe (T & T NV)" 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: > > >

[jQuery] Re: select cannot check checkboxes' states

2009-09-24 Thread Jonathan Vanherpe (T & T NV)
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) wrote: Xi Shen wrote: hi, i have a group of ch

[jQuery] Re: select cannot check checkboxes' states

2009-09-24 Thread Xi Shen
tried, not working ;( On Thu, Sep 24, 2009 at 5:03 PM, Jonathan Vanherpe (T & T NV) 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=tru

[jQuery] Re: select cannot check checkboxes' states

2009-09-24 Thread Jonathan Vanherpe (T & T NV)
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 - Tal

[jQuery] Re: select cannot check checkboxes' states

2009-09-24 Thread Sam Doyle
$("input[type=checkbox]:checked").each(function()...); On Thu, Sep 24, 2009 at 9:59 AM, 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(funct