Erik Beeson wrote:
>
> You want:
>
> var a = [];
>
> You've been doing too much C and Java :)
>
>
I found this works too:
a = new Array()
$(':checkbox').each(function() {
if (this.checked) {
if (this.id) a.push(this.id);
}
});
--
View this message in context:
http://www.nabble.com/IDs-of-all-checked-checkboxes-tf2963342.html#a8292420
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/