Demo of getting checkbox status on page load
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>
<?Php
echo "</div><div class='col-md-4'>";
require "templates/side_for_ad.php";
echo "</div></div>";
require "../../templates/temp1/analytic-only.php";
?>