Why does setAttribute 'false' work on another button but not on self in Javascript?

后端 未结 0 1336
伪装坚强ぢ
伪装坚强ぢ 2021-02-02 01:49

I have a menu that uses buttons and vanilla Javascript. When a button is clicked, it adds the class opened to the button and changes aria-expanded="false

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