Using Bootstrap modal that contains tabs. The modal is called from a php generated table of gallery names.Table Data\[code\]<td><a href="http://stackoverflow.com/questions/13749883/#" class="galName" data-target="#myModal" data-toggle="modal" id="update_<?php echo $gal['id']; ?>" ><?php echo $gal['name']; ?></a></td>\[/code\]The modal opens and the first tab is selected on initial fire. If I navigate to another tab close the modal and select a different gallery the modal opens to the last tab that was open.How do I make sure that when the modal is opened, it always opens to the first tab?Modal Tabs\[code\]<ul id="myTab" class="nav nav-tabs"> <li class="active"> <a href="http://stackoverflow.com/questions/13749883/#home" data-toggle="tab">Home</a> </li> <li class=""> <a id="uploadRevision" href="http://stackoverflow.com/questions/13749883/#upload" data-toggle="tab">Upload Revision</a> </li> <li class=""> <a href="http://stackoverflow.com/questions/13749883/#editRev" data-toggle="tab">Edit Revision</a> </li> </ul>\[/code\].galName fires an initUpdate function in effort to set first tab as default. It sets the tab but tab content is not show.\[code\]function initUpdate(){ $('#myModal a:first').tab('show');}\[/code\]Thanks for the help.