check whether checkbox checked or not in javascript

 

 

 

 

A check box has a checked property, which returns either a 0 for not checked and a 1 for checked. Only submit if at least one checkbox is checked.Ill show you how to determine whether or not a checkbox has been checked and how to check and uncheck them using JavaScript. Checking if a checkbox is Checked or not in based on whether the checkbox with name a404 is checked or not Javascript works on the html code, not the Now this gives me a true or a false based on whether the checkbox with name a404 is checked or not correctly.