javascript checkbox value

JavaScript
document.getElementById("checkbox").checked;
Source

Also in JavaScript: