> I have a form with multiple checkboxes, each with their own unique id.
>
> How do I go about returning the ids of the selected checkboxes into an
> array?

This should do it:

var a[];
$(':checkbox').each(function() {
    if (this.id) a.push(this.id);
});

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

Reply via email to