Skip to content

Instantly share code, notes, and snippets.

@DeanPoulin
Created January 20, 2014 17:56
Show Gist options
  • Select an option

  • Save DeanPoulin/8525283 to your computer and use it in GitHub Desktop.

Select an option

Save DeanPoulin/8525283 to your computer and use it in GitHub Desktop.
Activate Individual Tabs
$('#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