josemauricio
Programmer
Hello people.
I have two radiobuttonlist, which one depends on the other. If I click in a option of the first radiobuttonlist, the other radiobuttonlist must be disabled and vice versa. Ok, sometimes, this components is shown already checked, based on information in my database. So, if the second option of the first radiobuttonlist is shown checked, the second radiobuttonlist must be disabled. I have a javascript function that changes the disabled property of the second radiobuttonlist when the user changes the selected option of the first. The problem is that when I disable the second radiobuttonlist at runtime when the page is loading, the javascript function just doesn't work. Anybody knows why is it happening and a solution for this?
I'm almost becoming nuts with it!!!!!
Thanx for any help.
José Maurício.
I have two radiobuttonlist, which one depends on the other. If I click in a option of the first radiobuttonlist, the other radiobuttonlist must be disabled and vice versa. Ok, sometimes, this components is shown already checked, based on information in my database. So, if the second option of the first radiobuttonlist is shown checked, the second radiobuttonlist must be disabled. I have a javascript function that changes the disabled property of the second radiobuttonlist when the user changes the selected option of the first. The problem is that when I disable the second radiobuttonlist at runtime when the page is loading, the javascript function just doesn't work. Anybody knows why is it happening and a solution for this?
I'm almost becoming nuts with it!!!!!
Thanx for any help.
José Maurício.