Checkbox to Control Button Enabled Property - ASP.NET
<p>I would like to know how I can control the 'Enabled' property of a button based on the 'checked' value of a checkbox:</p>

<pre><code>&lt;asp:CheckBox ID="chkEnableButton" runat="server" /&gt;
&lt;asp:Button ID="btnLoadForm" runat="server" /&gt;
</code></pre>

<p>I can do this very easily on the server side - but I require this to be done on client side only, meaning JavaScript. Would the OnCheckedChanged attribute allow me to call some JavaScript to do this....or is it strictly for calling a handler in the code-behind?</p>

<p>Just to clarify, when the checkbox is checked, the button is enabled... when the checkbox is unchecked the button is disabled.</p>
