var status = document.getElementById('checkbox1').checked; alert(status);
will return true or false.
true
false