How to pass a variable to onclick function of a dynamically created button in javascript?

后端 未结 0 1841
你的背包
你的背包 2021-01-19 16:28

I am creating buttons dynamically (using html content as string). I need to pass a variable to the onclick function of the button. Below is my code.

yesBtnLbl         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题