How to add event listener to all elements

后端 未结 0 1255
無奈伤痛
無奈伤痛 2020-11-30 18:45

I am generating input fields and a font awesome icon dynamically via JavaScript. I want to attach an event that alerts a string to each created icon, currently the event wor

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