My initial page has an empty div. An ajax transaction fills it with suitable h3/div content. If I call .accordion() before there’s any content, it has no effect. If I call it after the first content is loaded, the first content looks good. Calling it a second time, however, does not work. Do I really need to destroy and redo?
Share
At the moment you have to destroy and re-create the whole thing using the official stable release. There is already a feature request for it, scheduled for
1.next: http://bugs.jqueryui.com/ticket/4672If you have a read above, mrfr0g says he built a custom accordion based on jQuery UI 1.8.2, give that a try.