JavaScript add class not working on Django template

前端 未结 0 1657
故里飘歌
故里飘歌 2020-12-07 04:39

I want to use this:

var btns = document.getElementsByClassName("active-btn");

  // Loop through the buttons and add the active class to the current         


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