how to get checked property of checkbox in 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'; }