Ajax jquery-ui accordion.
Posted
by jaaanosik
on Stack Overflow
See other posts from Stack Overflow
or by jaaanosik
Published on 2010-04-29T22:11:39Z
Indexed on
2010/04/29
22:17 UTC
Read the original article
Hit count: 347
Hello, I init my accordion in the following way:
$(function() {
$("#gallery_accordion").accordion({ event: false });
$("#gallery_accordion").click(function(e) {
var contentDiv = $(this).next("div");
contentDiv.load($(this).find("a").attr("href"));
});
});
The content is loaded onclick but the accordion is invisible. Nothing is shown. Any help highly appreciated. Thanks.
© Stack Overflow or respective owner