Accordion with ajax tabs
Accordion with ajax tabs
Hi,
I have tabs and inside them i have the accordion layout. The problem
is that the tabs load with ajax so when i load them the accordion
doesn't work at all. I've tried retriggering the event when a tab is
clicked but that didn't work either. This is the code i tried using,
the function is triggered but accordion isn't reinitialised.
$('#tabs ul li:eq(1) a').click( function() {
$('#players').accordion({
autoHeight: false
});
});
Anyone point me the right direction? thanks.