jquery ui accordions within tabs

后端 未结 7 549
失恋的感觉
失恋的感觉 2020-12-05 10:17

I’ve run into a problem using accordions within tabs, the initially inactive accordions do not render their content correctly when their tab is selected. Reading around I s

相关标签:
7条回答
  • 2020-12-05 10:58
        $( "#tabs" ).tabs({
            load: function(event, ui) {
                $("#"+ui.panel.id+" .accordians:first").accordion();
            }
        });
    

    This worked when using ajax html with tabs.

    0 讨论(0)
提交回复
热议问题