I want the dropdown to show the text a selected subitem by default. Rather than the title of the dropdown itself. Currently when I select a subitem the dropdown's text remains the same. I suspect I need javascript to do this and am looking for the script. How is that done?
On Wednesday, April 10, 2013 8:31:28 PM UTC-4, iange87 wrote: > > By changing the text? I'm not sure what you're asking. > > On Monday, April 8, 2013 7:30:47 PM UTC+1, Mo Moadeli wrote: >> >> I have simple code below. The button dropdown-menu (bootstrap) is >> currently showing 'DIFFICULTY LEVEL' by default. How do I get to show, >> say, "ITEM 1" by default? >> >> <div class="btn-group"> >> <a class="btn dropdown-toggle >> polldifficulty-btn" data-toggle="dropdown" href="#"> DIFFICULTY LEVEL >> <span class="caret"></span> >> </a> >> <ul class="dropdown-menu"> >> <li><a href="#">ITEM1</a></li> >> <li><a href="#">ITEM2</a></li> >> <li><a href="#">ITEM3</a></li> >> </ul> >> </div> <!--end btn-group --> >> > -- You received this message because you are subscribed to the Google Groups "twitter-bootstrap" group. To unsubscribe from this group and stop receiving emails from it, send an email to twitter-bootstrap+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.