Disabling a checkbox in asp.net
<p>I am dynamically creating a CheckBox and setting the disabled property like this:</p>

<pre><code>chk.Disabled = false.
</code></pre>

<p>This renders the following HTML:</p>

<pre><code>&lt;input type="checkbox" disabled="disabled" .../&gt;
</code></pre>

<p>On the click of the checkbox, I have a JS function that tries to enable it by doing a:</p>

<pre><code>//get reference to the checkbox
chk.disabled = false;
</code></pre>

<p>This does not work. Any help?</p>
