title: How to post checkbox value when disabled
body: <p>I tried to put readonly property for checkbox,but it is allowing user to check/uncheck the field.</p>
  
  <p>Later I tried to put disable which is preventing user from check/uncheck.</p>
  
  <p>But when I tried to submit form,the checkbox with disbaled value is not passing to MVC controller.</p>
  
  <p>I tried to put hidden value,and tried to set value when changed but not able to pass the value to controller.</p>
  
  <p>Here is my Code:</p>
  
  <pre><code>  &lt;div  style="width:200px"&gt;@Html.CheckBoxFor(m =&gt; m.In, new { id = "cbIn", style = "vertical-align:middle;", data_bind = "checked:In,disable:useSettings" })&lt;/div&gt;
     @Html.HiddenFor(m=&gt;m.In,new { id = "hiddenIn" })
  </code></pre>
  
  <p>JQuery Code:</p>
  
  <pre><code> $("#hiddenIn").val(data.In);
  
  function SaveSettings() {
          try {
  
              var saveSettingsUrl = "/Settings/SaveSettings";
              var serializedForm = $("input,select").serialize();
  
              $.ajax({
                  type: 'POST',
                  url: saveSettingsUrl,
                  async: true,
                  data: serializedForm,
                  success: function (data, textStatus, request) {
  
                      data = null;
  
                  },
                  error: function (request, status, error) {
                      handleException(request.responseText);
                  }
              });
          }
          catch (error) {
              showExceptionWindow('Jquery Error:' + error);
          }
      }
  </code></pre>
  
  <p>How can I send the checkbox value,even when it is disabled in form post.</p>