add event listener “click” to each element of array

后端 未结 0 1884
难免孤独
难免孤独 2020-12-03 00:25

I\'m trying set listener on click, on each item of array using forEach method. I would like to get just one item which I clicked but whenever I click on any

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