bootstrap programmatically change tab code example Example: bootstrap programmatically change tab $('.nav-tabs a[href="#tab-name"]').tab('show');