- How to create drop-down list based on another dropdown list?
- How do you enable disable a dropdown based on value in another dropdown in HTML?
How to create drop-down list based on another dropdown list?
In the same or in another spreadsheet, select a cell or several cells in which you want your primary drop-down list to appear. Go to the Data tab, click Data Validation and set up a drop-down list based on a named range in the usual way by selecting List under Allow and entering the range name in the Source box.
How do you enable disable a dropdown based on value in another dropdown in HTML?
prop("disabled", true); else $("#ddl2"). prop("disabled", false); ); ); The above code will disable the "ddl2" dropdown on select of a particular value in first dropdown. And will enable it if you select another value.