I have an HTML table with a checkbox in each row. I want to loop over the table and see if there are any checkboxes that are checked. The following does not work: <
use .filter(':has(:checkbox:checked)' ie:
.filter(':has(:checkbox:checked)'
$('#mytable tr').filter(':has(:checkbox:checked)').each(function() { $('#out').append(this.id); });