BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
function onclick(args){
var tabObj = $("#apiTab").data("ejTab");
//tabObj.option("hiddenItemIndex",[0]);
//tabObj.showItem(1);
// use variable i (which might be arg to a fn) to selec the tab to be shown
var i=1;
var hdn = tabObj.option("hiddenItemIndex");
var j=hdn.indexOf(i);
hdn.splice(j,1);
tabObj.option("hiddenItemIndex",hdn);
tabObj.showItem(i);
}