Hi. I found the PHP code attached for a cascading combos. I’d like to know how can I enable or disable the two radio button depending on the choice made with the combos.
Thank you
Emilio
[php]
Radio 1
Radio 2
[/php]
Hi. I found the PHP code attached for a cascading combos. I’d like to know how can I enable or disable the two radio button depending on the choice made with the combos.
Thank you
Emilio
[php]
LOL, First, there is NO PHP code there! That is Javascript code. (As noted at the beginning of your code!)
Anyway, you use this: " document.getElementById(‘Combobox1’); " to access the combo-box control using Javascript. You can also use the save type of JS code to set a HTML radio button. Something like this:
document.getElementById(‘RadioButton1’).checked = true;
Hope that helps!