Drop-down box dependent on the option selected in another drop-down box

后端 未结 7 1782
半阙折子戏
半阙折子戏 2020-11-29 05:55

I have 2 different SELECT OPTION in a form.

The first one is Source, the second one is Status. I would like to have different OPTIONS in my Status drop-down list dep

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-29 06:50

    I am posting this answer because in this way you will never need any plugin like jQuery and any other, This has the solution by simple javascript.

    
        
        
        
        
        Dynamic Drop Down List
        
        
    Source:
    Status:

    For more details, I mean to make dynamic and more dependency please take a look at my article create dynamic drop-down list

提交回复
热议问题