I have a dropdownlist and a textbox in my form. I want the textbox to be enabled only when an option is selected in the dropdownlist i.e. it is not at the empty value.
If there is no value selected in the dropdown list, the textbox should be disabled. If user changes its value, the textbox should be enabled. By default, it is disabled. I have managed to detect the change event of select box using the following script.