title: checkbox jquery or javascript oncheck?
body: <p>I do not know the correct terminology for this, but I want the same effect as onclick but for a check box with jquery or javascript.</p>
  
  <p>onclick version:</p>
  
  <pre><code>&lt;a href="..." onclick="function()"&gt;Link&lt;/a&gt;
  </code></pre>
  
  <p>I want the same effect as above but for a checkbox. The end result will be that the page should reload with an updated php query, but that part I can do. I just don't know what the onclick is for checkboxes.</p>
  
  <p>checkbox:</p>
  
  <pre><code>&lt;input type="checkbox" name="change" value="one" /&gt;changes php query
  </code></pre>