Is there any way to submit a form when a user clicks on a checkbox? Think of a todo list.
When the user clicks on the checkbox, it updates the todo entry in the database saying its done.
Can this be done without using javascript?
Sorry.. without Javascript the answer is no. :-)
You may want to consider using AJAX form submission for something like that for user experience sake. At any rate the Javascript would look like this:
function submitForm() {
document.myform.submit();
}
then use an OnClick="submitForm();" or OnChange="submitForm();"