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

后端 未结 7 1786
半阙折子戏
半阙折子戏 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:33

    You're better off making two selects and showing one while hiding the other.

    It's easier, and adding options to selects with your method will not work in IE8 (if you care).

提交回复
热议问题