How can I get the tab selected Id in jQuery UI 1.9?
I use this method in jQuery UI 1.8 :
var key = $('#chart-report-tabs .ui-tabs-panel:not(.ui-tabs-hide)').prop('id');
but it does not work in the 1.9 version.
How can I get the tab selected Id in jQuery UI 1.9?
I use this method in jQuery UI 1.8 :
var key = $('#chart-report-tabs .ui-tabs-panel:not(.ui-tabs-hide)').prop('id');
but it does not work in the 1.9 version.
Use the
activate
orbeforeActivate
events withui.newPanel
:Check the documentation
Try this:
Source: jQuery UI Tabs selected index
Try this:
Try this one:
Returns zero-based index of active tab