How to toggle a class from a single element in a node list in javascript

后端 未结 0 1259
独厮守ぢ
独厮守ぢ 2021-01-25 04:35

I\'m trying to toggle a class "hidden" to a single element once you clicked on it. Here is my code which toggle all elements with the class. How to toggle only the ele

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