阅读背景:

JavaScript - 如何将onClick函数添加到动态创建的按钮元素中?

来源:互联网 

Beginner programmer here-I am making an app that generates list items with a dynamically created button as a child of the 'li' element. I want to assign an onClick function to this dynamically created button but nothing seems to work. I have tried many ways, here is my most recent code.Beginner programmer here-I am making an app tha




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: