how to get checkbox enable to work in ie9?
<p>The following code does work in FF. I am trying to set the checkbox to enabled with the enable button. The enable checkbox does not work in IE 9?</p>

<p>
    
    
        
        
        </p>

<pre><code>        function enablebut() {
            $('#CheckBoxList1_0').removeAttr("disabled");

            $('#CheckBoxList1 span').removeAttr("disabled");

        }


        function disablebut() {
            $('#CheckBoxList1_0').attr("disabled", true);

            $('#CheckBoxList1 span').attr("disabled", true);

        }




    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    &lt;button type="button" onclick="enablebut();"&gt;
        enable&lt;/button&gt;
    &lt;button type="button" onclick="disablebut();"&gt;
        disable&lt;/button&gt;
    &lt;div&gt;
        &lt;asp:CheckBoxList ID="CheckBoxList1" Enabled='false' runat="server"&gt;
            &lt;asp:ListItem Text="een"&gt;&lt;/asp:ListItem&gt;
        &lt;/asp:CheckBoxList&gt;
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
