title: MVC3 Razor Ajax Form Submit
body: <p>I use The MVC3 Helper to generate my Ajax form like this:</p>
  
  <pre><code>@using (Ajax.BeginForm("Attended", "Lesson", new AjaxOptions
                 {
                     HttpMethod = "GET",
                     InsertionMode = InsertionMode.InsertAfter,
                     UpdateTargetId = "mdl" + item.ID
                 }))
              {
                  @Html.HiddenFor(modelItem =&gt; item.ID);
                  @Html.CheckBox("Attended", item.Attended, new { OnChange = "javascript:this.form.submit()"});
              }
  </code></pre>
  
  <p>I just don't find the proper way to submit the Form on the change event of the checkbox. 
  I don't want my users to click the submit button. </p>
  
  <p>The HTMLAttribute works, but on the change a postback happens instead of an ajax request.</p>
  
  <p>Does anybody know the answer?</p>