Created
January 20, 2014 17:56
-
-
Save DeanPoulin/8525283 to your computer and use it in GitHub Desktop.
Activate Individual Tabs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('#myTab a[href="#profile"]').tab('show'); // Select tab by name | |
| $('#myTab a:first').tab('show'); // Select first tab | |
| $('#myTab a:last').tab('show'); // Select last tab | |
| $('#myTab li:eq(2) a').tab('show'); // Select third tab (0-indexed) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment