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
As per UI Doc :
First get index of tab which you want to activate.
var index = $('#tabs a[href="'+id+'"]').parent().index();
Activate it
tabs.tabs( "option", "active", index );