Onclick dynamically added setAttribute to td element passes variable as string

前端 未结 0 639
萌比男神i
萌比男神i 2020-12-10 22:32

I have a dynamically created table with one cell containing a button. I used setAttribute to insert the onclick event but the variable that it is using is passed as a strin

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