Can you explain me how can I enable/disable a text box (that means, can or cannot be edit) depending on a combobox?
If the combobox value = 1 -> textbox enable; if combobox = 0 -> textbox disable.
Can you explain me how can I enable/disable a text box (that means, can
Share
You want to use the
onchangeevent of theselectelement. Here’s an example:Note: I marked
txt1as disabled to handle the initial state when the page is loaded andselect1is set toOption 0.