Note: Syntax: document.getElementById("inputID").defaultChecked = value document.all.inputID.defaultChecked = value // IE only