Disable a Control

Sample HTML code that disabled a dropdown list (named Dropdown1) on a Web page or HTA.

VBScript Code


Sub RunScript
    DropDown1.Disabled = False
End Sub