SyntaxFix
Write A Post
Hire A Developer
Questions
I found the code below does the trick. Sets a variable of the newly selected tab index
$("#tabs").tabs({ activate: function (e, ui) { currentTabIndex =ui.newTab.index().toString(); } });