Using jQuery UI tabs - and I\'ve written a plugin that integrates with ui tabs. I\'ve got the plugin setup to initiate jQuery UI tabs if it .tabs() hasn\'t been
.tabs()
somehow it causes some error when i try to check the instance.
i need to reinitialize the tabs and for me a try catch did the trick:
try { $('.mytabs').tabs('destroy'); } catch (exception) {}
and after that just initialize again:
$('.mytabs').tabs();