How To Set ActiveTab index using Javascript

function setActiveTab(tabNumber) { var ctrl = $find('<%=TabContainer.ClientID%>'); ctrl.set_activeTab(ctrl.get_tabs()[tabNumber]); } this is a function that sets the active tab using javascript so you just set the anchor's href to look like this: <a href='setActiveTab(1)'>Go to Next Tab;
Reactions

Post a Comment

0 Comments

Close Menu