Javascript toggle button not changing button state

前端 未结 0 1397
北海茫月
北海茫月 2020-12-20 23:54

I have a button that when clicked, I would like the text to change from "ON" to "OFF" (toggle). However, I cannot seem to get the javascript to do this.

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