I am using jQuery UI Tabs inside of the jQuery UI dialog window.
I\'ve come across an instance, where I need to find the id of the current tab when clicking on one o
Asume that ui tabs container's id is tab-container. Working snippet is
$('#tab-container').find('>div:nth-of-type(' + ($('#tab-container').tabs("option", "active") + 1) + ')');
Tested with jQuery UI v1.11.2, jQuery v1.11.3 and Chrome 45.