As usual, it comes down to selector-fu, thanks gyes :)
Andreas
On Feb 12, 2007, at 23:56 , Klaus Hartl wrote:
> Mike Alsup schrieb:
>>> What about this?
>>> $(':checkbox:checked', checkboxes);
>>
>> Sweet!
>
>
> If you don't need to filter radios, I guess $(':checked') would work,
> doesn't it?
Mike Alsup schrieb:
>> What about this?
>> $(':checkbox:checked', checkboxes);
>
> Sweet!
If you don't need to filter radios, I guess $(':checked') would work,
doesn't it?
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/disc
> What about this?
> $(':checkbox:checked', checkboxes);
Sweet!
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
What about this?
$(':checkbox:checked', checkboxes);
On 2/12/07, Mike Alsup <[EMAIL PROTECTED]> wrote:
> For all checked boxes on a page:
> $("input:checked")
That will get you checked radios too.
___
jQuery mailing list
discuss@jquery.com
http://jq
On 12/02/07, Mike Alsup <[EMAIL PROTECTED]> wrote:
> > For all checked boxes on a page:
> > $("input:checked")
>
> That will get you checked radios too.
>
How about
$("[EMAIL PROTECTED]:checked")
___
jQuery mailing list
discuss@jquery.com
http://jquery.
> For all checked boxes on a page:
> $("input:checked")
That will get you checked radios too.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Andreas Wahlin schrieb:
> I have a jquery selection of input tags of type checkbox, I want to
> filter out those that are checked. Feels like it should be something
> easy like
>
> $('[EMAIL PROTECTED]', checkboxes);
>
> andreas
With that you would get all checkboxes that are checked already
On 12/02/07, Andreas Wahlin <[EMAIL PROTECTED]> wrote:
> I have a jquery selection of input tags of type checkbox, I want to
> filter out those that are checked. Feels like it should be something
> easy like
>
> $('[EMAIL PROTECTED]', checkboxes);
>
> andreas
Even simpler than that.
For all check
I have a jquery selection of input tags of type checkbox, I want to
filter out those that are checked. Feels like it should be something
easy like
$('[EMAIL PROTECTED]', checkboxes);
andreas
___
jQuery mailing list
discuss@jquery.com
http://jquery