jquery checkbox

To check on/off a checkbox:

$("#cbVoidInvoice").attr('checked'true); 
or 
$("#cbVoidInvoice").attr('checked'false); 
 
To check if checkbox check on:
$(this).is(':checked')