Checkboxes in HTML forms don\'t have implicit labels with them. Adding an explicit label (some text) next to it doesn\'t toggle the
If you correctly markup your HTML code, there is no need for javascript. The following code will allow the user to click on the label text to tick the checkbox.
The for attribute on the label element links to the id attribute on the input element and the browser does the rest.
This has been testing to work in: