populate text box on click of radio button

后端 未结 4 774
醉酒成梦
醉酒成梦 2021-01-26 18:10

I have 3 radio buttons, when one of them is selected I want to automatically put text in a textbox. For example, If the user selected the \'Yes\' radio button, I want the text \

4条回答
  •  清酒与你
    2021-01-26 18:45

    Try this. Should be cross-browser, but it's worth testing in a few older browsers.

    
    
    

    User clicked:

提交回复
热议问题