get value from multiple buttons

前端 未结 0 1249
别跟我提以往
别跟我提以往 2021-01-19 04:03

How can I get the value of the button that the user clicked. I tried this but it doesn\'t work

for (var i = 0; i < 4; i++) {
        var x = document.getEl         


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