title: submitting a form when a checkbox is checked
body: <p>is there are way to submit a form when a checkbox is checked?</p>
  
  <pre><code>&lt;form id="formName" action="&lt;?php echo $_SERVER['PHP_SELF'];?&gt;" method="get"&gt;
      &lt;input type ="checkbox" name="cBox[]" value = "3"&gt;3&lt;/input&gt;
      &lt;input type ="checkbox" name="cBox[]" value = "4"&gt;4&lt;/input&gt;
      &lt;input type ="checkbox" name="cBox[]" value = "5"&gt;5&lt;/input&gt;
      &lt;input type="submit" name="submit" value="Search" /&gt;
  &lt;/form&gt;
  
  &lt;?php
      if(isset($_GET['submit'])){
          include 'displayResults.php';
      }
  ?&gt;
  </code></pre>
  
  <p>That is what I have currently, but I would like to submit the form without a submit button, when the user checks or unchecks a checkbox. Any help?</p>