Add a value when clicked button javascript

前端 未结 0 1816
臣服心动
臣服心动 2020-12-04 16:37

I want to add value 1 when button was clicked and 0 when i am not clicking the button. But when the web is first loaded it is set to the value 0. I write my code like this

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