Show element on radio button selection

后端 未结 3 1496
名媛妹妹
名媛妹妹 2021-01-15 15:05

I would like to show input text field on radio button selection in vanilla JavaScript.

What am I missing?

3条回答
  •  情歌与酒
    2021-01-15 15:44

    You need to add an event listener for the click event of each of the radio buttons.

    Choose Size

提交回复
热议问题