NBartomeli
Programmer
I have a 4 sets of checkboxes and text boxes on an aspx page. The checkboxes are disabled by default but when the text box next to it has text entered into it, the checkbox is supposed to enable.
The problem is, the value is changed when I step through it in the debugger but the page is not. (checkboxes stay disabled on the page, but the value of checkbox.disabled = false)
If i REVERSE this, making the checkboxes enabled by default and then try to disable them when text is entered, it works fine.
Any suggestions?
my code looks like:
Thanks for any help
The problem is, the value is changed when I step through it in the debugger but the page is not. (checkboxes stay disabled on the page, but the value of checkbox.disabled = false)
If i REVERSE this, making the checkboxes enabled by default and then try to disable them when text is entered, it works fine.
Any suggestions?
my code looks like:
Code:
[COLOR=green]//elemArray[6] has checkbox.ClientID value[/color]
document.forms[0][elemArray[6]].disabled = false;
Thanks for any help