Expert JavaScript Developer Question:
Download Questions PDF

How to determine the state of a checkbox using JavaScript?

Expert JavaScript Developer Interview Question
Expert JavaScript Developer Interview Question

Answer:

Determining the state of a checkbox in JavaScript
var checkedP = window.document.getElementById("myCheckBox").checked;

Download Expert JavaScript Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Can you please explain the difference between web-garden and a web-farm?How to get contents of an input box using JavaScript?