Click to See Complete Forum and Search --> : Urgent : Disabling the contol in a Web Page


February 28th, 2000, 06:06 PM
Hi,
I have four combo box controls in a Web Page.Based on the selection in one combo box, I want to disable
the other controls.Using client side scripting,is it possible to do ? The values in the combo box
controls are loaded at run time.
Thanx in Advance.

Regards,
Kannan

Lothar Haensler
February 29th, 2000, 01:14 AM
if your "combobox" is a HTML SELECT list:

<select id="test">
<option>hi</hi>
</select>
<input type=button onclick="test();">
<script language=VBSCript>
sub test
document.all.test.disabled = true
end sub
</script>



if it is a Combobox ActiveX control:
yourcomboname.enabled = false