How to addEventListener to querySelectorAll and when triggered get elements index(or id, value)?

后端 未结 0 856
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 06:28

I\'m making background selector in site menu, It will change backgroundImage when user clicks on spec. image (that triggers radio button). I want to do it using querySelecto

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