is checked with id jquery code example
Example: if checkbox checked jquery value 1
var checked = '0'; if($('#checkbox').prop('checked')){ checked = '1'; }
var checked = '0'; if($('#checkbox').prop('checked')){ checked = '1'; }