How to determine the state of a checkbox using JavaScript?

Submitted by: Administrator
Determining the state of a checkbox in JavaScript

var checkedP = window.document.getElementById("myCheckBox").checked;
Submitted by: Administrator

Read Online JavaScript Job Interview Questions And Answers