Monthly Archives: June 2012

Putting jQuery accordion inside tabs

When adding an accordion inside tabs, I noticed that the accordion did not expand as expected. After some trial-and-error, I discovered that you need to create the accordion first, and then the tabs :


$('#accordion_id').accordion();
$('#tab_id').tabs();

This fixed the problem for me.