SyntaxFix
Write A Post
Hire A Developer
Questions
You can set the state of the checkbox based on the value:
$('#your-checkbox').prop('checked', value == 1);