Event only takes the last values after being attached to elements in a loop

前端 未结 0 858
暖寄归人
暖寄归人 2020-12-10 18:28

I am trying to attach an event to an element but when I fire this event, it uses the value of the last element in the loop.

I tried thousands of things, but nothing w

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