title: ASP.NET MVC submitting form on checkbox click
body: <p>Is there anything special I should be doing in ASP.NET when I want to submit a form when a checkbox is clicked. This is some sample HTML I am using...</p>
  
  <pre><code>&lt;form method="post" action="#"&gt;
                  &lt;input id="hi" class="hidden-field" type="checkbox" value="true" onclick="this.form.submit();" name="hi"&gt;hi&lt;/input&gt;
              &lt;/form&gt;
  </code></pre>
  
  <p>I tested this in JSFiddle and when you click the checkbox, it naturally posts the form. Somehow I can't get this working inside a MVC PartialView.</p>