Demo of getting checkbox status on page load

Checkbox

The status is at the time of page loading only, it will not reflect the change in status after page loading.

JQuery

<script>
$(document).ready(function() {
   var ckb_status = $("#ckb").prop('checked');
//alert(ckb_status);
$('#d1').html( " <b>Status :</b> " + ckb_status );
});
</script>