If you can just use the select event handler to manage your tabs, this works fine:
$('#tabs').tabs({ select: function( evt, ui ) { console.log( $(ui.panel).attr( 'id' ) ); } });
In addition, here is a convenient link for various properties of the ui object.
nickb
source share