function checkAddress() { var chkBox = document.getElementById('checkAddress'); if (chkBox.checked) { // .. } }