Created
October 28, 2015 23:47
-
-
Save danmo91/642988f2e135a36f148e to your computer and use it in GitHub Desktop.
Bootstrap Dropdown
This file contains 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
<div class="dropdown"> | |
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> | |
Missions | |
<span class="caret"></span> | |
</button> | |
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1"> | |
<!-- clicking on Missouri St. Louis takes me to the Mission action method and passes the name parameter --> | |
<li><a href="Mission?name=Missouri">Missouri St. Louis</a></li> | |
<li><a href="#">Iowa Des Moines</a></li> | |
<li><a href="#">California San Jose</a></li> | |
</ul> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment