Bootstrap Altere programaticamente a guia
$('.nav-tabs a[href="#tab-name"]').tab('show');
Chris PA
$('.nav-tabs a[href="#tab-name"]').tab('show');