I have two tabs and configured usign jQuery UI.
ul class=\"tabs\"
li tabone
li tabtwo
ul
dynamically from C# code behind I will hide
None of these answers worked for me. I just by-passed the problem. I did this:
$('#tabs-tab1').removeClass('tabs-hide');
$('#tabs-tab2').addClass('tabs-hide');
$('#container-tabs a[href="#tabs-tab2"]').parent().removeClass('tabs-selected');
$('#container-tabs a[href="#tabs-tab1"]').parent().addClass('tabs-selected');
It works great.