I have this script that creates a new tab in JQuery. Can you check through code on whether that particular tab has been generated?
Thanks!
function createTab(name) {
var tabName = "#fragment-" + name;
$("#container-1 > ul").tabs("add", tabName, name);
var newTab = $(tabName).css("display", "block");
newTab.html("<iframe src='ViewPatient.aspx?pname=" + name + "' width='100%' frameborder='0' scrolling='no' height='300'></iframe>");
};