Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi I'm using angular tab directive.The link for JS fiddle is AngularJs Tab Directive .My Question is How can I move to second tab from first tab with click of a button?Thanks

<pre lang="HTML"><tabs>
<pane title="First Tab">
  <button type="button" ng-click="moveToSecondTab()">Second Tab.</button>
</pane>
<pane title="Second Tab">
  <div>This is the content of the second tab.</div>
</pane>


JSFiddle Link - http://jsfiddle.net/mailmrmanoj/1x8f5bp8/[^]
Posted
v2
Comments
Where is the js fiddle link?
Member 11189691 8-Dec-14 23:05pm    
http://jsfiddle.net/mailmrmanoj/1x8f5bp8/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900