Jquery Accordion - Collapsible Error

in jQuery accordion , we can set the reset parameter as follows

$ ("# accordion"). accordion ({active: 0, foldapsible: true});

Foldable behavior works fine for the first time. But later this will give an error and stop all the behavior of the accordion. "this.toHide.parent () [0] - undefined"

Any idea if this bug is known for this?

+3
source share
4 answers

jquery-ui

+1

The CDN was definitely an update. I am using Google and the 1.8.8 update has broken this. If you just use / ajax / libs / jqueryui / 1.8 / jquery-ui.min.js, change it to / ajax / libs / jqueryui / 1.8.7 / jquery-ui.min.js

I had the same problem and it worked for me!

0
source

Even the demo on his site is broken! http://jqueryui.com/demos/accordion/#collapsible I tried FF and Chrome and it does not work in both.

0
source

Source: https://habr.com/ru/post/1785317/


All Articles