>>Hmm . . It seems the website won't let me include the JS here. Anyone know how to do it? >>>>The script is positioned inside the edititemstemplate so that the checkboxes do in fact exist when the script loads. My problem is that although the checked property changes as expected, the enabled property does not, UNLESS the default condition of the checkbox2 (dh410) is enabled. If its enabled by default, it will toggle back and forth just fine. But if the default condition is disabled it will not. I find that the framework compilation is wrapping the checkbox inside a span which is also set to disabled and it seems this is preventing the checkbox from being activated by the script. It looks like this
>><span class="ckbox2" disabled="disabled"><input id="ctl00_ContentPlaceHolder1_FormView1_dh410CheckBox" type="checkbox" name="ctl00$ContentPlaceHolder1$FormView1$dh410CheckBox" disabled="disabled" /><label for="ctl00_ContentPlaceHolder1_FormView1_dh410CheckBox">4/10</label></span> >>>>So, can someone here help me figure this out?
>function EnableOtherControl() >{ > chkNameOfCheckbox.disabled = false; > chkNameOfCheckbox.parentNode.disabled = false; >} >Paul - You are wonderful. Thanks