I need to select all checked checkboxes, except checkboxes having a class .checkall
.
HTML:
<input type="checkbox" value="1961" class="checkbox">
<input type="checkbox" name="checkall" class="checkbox checkall">
Script:
$("input.checkbox:checkbox:checked:not(.checkall)").each(function () {
var checkbox = $(this), machineId = checkbox.val()
}