Javascript how to change radio button label text?

后端 未结 3 1784
你的背包
你的背包 2020-12-12 07:53

I want to change the text of the label which is associated with the radiobutton id=\"male\". I have tried various ways to do it, but i can\'t make it work. I want to change

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-12 08:17

    I tried to use ideas from the above to get a working example, and had some problems. So I asked for help in another posting and @KrishCdbry very kindly fixed the problem. The posted question is at javascript - How to dynamically change information displayed by radio button? Below is the working example with Krish's changes

     
    

提交回复
热议问题