title: html/javascript/php run script onclick checkbox
body: <p>This should be a very easy thing to do but I can't find a good reference on how to do it.</p>
  
  <p>I want to submit a form upon clicking a checkbox.  To make it a one click process and save user the step of clicking the check box and then clicking form submit, I'd like the form to be submitted upon clicking the checkbox.</p>
  
  <p>My question is do I need to call a javascript function to do this or can html do this natively?  </p>
  
  <pre><code>&lt;form action="post.php" method="post"&gt;&lt;input type="checkbox" name="done" id="done" value="1" onclick="post.php"&gt;&lt;/input&gt;&lt;/form&gt;
  </code></pre>
  
  <p>doesn't seem to work.  Do I have to call a javascript function, or am I missing something simple.  Thanks</p>