title: How to Enable AutoPostBack property and CheckChanged Event to an input[type=checkbox]?
body: <p>I have an <code>input[type="checkbox"]</code> which have applied it <code>runat="server"</code> to access its value from code-behind. I want to make it raise postback on every <code>checkchanged</code> event but I can't find a property proper for that.</p>
  
  <p>The reason I want to use it instead of a asp:checkbox control is because of its CSS which I found it hard to emulate its style for asp:checkbox control.
  This is the source of control:</p>
  
  <pre><code>&lt;label class="switch switch-green"&gt;
                 &lt;input type="checkbox" class="switch-input" id="cbAvailabilityFlag" runat="server" &gt;
                 &lt;span class="switch-label" data-on="Yes" data-off="No"&gt;&lt;/span&gt;&lt;span class="switch-handle"&gt;&lt;/span&gt;    
      &lt;/label&gt;
  </code></pre>