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
This is the answer
var index = $('#tabs a[href="#simple-tab-2"]').parent().index(); $("#tabs").tabs("option", "active", index);