Show/Hide different forms based on a option selected

后端 未结 7 1327
暗喜
暗喜 2021-02-04 19:28

I would like to know how to show/hide different forms based one form\'s selection.

In the sample code below all three forms are automatically set to display:none. I woul

7条回答
  •  梦如初夏
    2021-02-04 20:16

    You can use jQuery to help you with it :

    I added an id to your select and change the id name of your three forms :)

    Hope it helps :)

提交回复
热议问题