BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
var tabObj = $("#Picks").data("ejTab");
tabObj.addItem("#New", "New Item", 10, "", "dynamicTab");
$('#dynamicTab').html(data);
ej.widget.init($("#dynamicTab"));
}
});
});
The problem is, the tab created is not active or displayed, it is appended to the end of the other tabs but not displayed/active. When clicked it is displayed as expected. So my question is, how do I resolve this or what property do I need to set to ensure dynamic tabs are displayed/actively rendered?
Many thanks
$.ajax({ url: '/Home/Index', type: 'POST', success:function(data) { var tabObj = $("#Picks").data("ejTab"); tabObj.addItem("#dynamicTab", "New Item", 1); $('#dynamicTab').html(data); ej.widget.init($("#dynamicTab")); } }) |