Why only the last element of a loop keeps the function assignment?

前端 未结 0 1788
暗喜
暗喜 2021-02-10 02:51

so I have a button that, when clicked on, adds a new input with a new id, the inputs all should have a function assigned to them on blur like this

HTML:

&l         


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