jQuery UI Accordion in Accordion

前端 未结 2 1335
时光说笑
时光说笑 2021-02-20 12:58

Is it possible to have an accordion embedded in another accordion with jQuery UI?

-Item One
-Item Two
-Item Three
  --Sub One
  --Sub Two
  --Sub Three
-Item Fou         


        
2条回答
  •  情深已故
    2021-02-20 13:31

    Give each container that you want to make an accordion a class like accordion and use:

    $(".accordion").accordion();

提交回复
热议问题