Javascript Prototype: Get siblings

前端 未结 0 1396
孤街浪徒
孤街浪徒 2021-01-02 04:09

I\'m new to the prototype thing. I\'m making an accordion and I want all the siblings to close once the current clicked accordion item opens. This is my code:



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