title: Display the dropdown selected value
body: <p>I have a simple markup of twitter bootstrap dropdown menu where I need to display the selected value but its not happening.</p>
  
  <pre><code>&lt;div class="container" style="padding-top: 10em;"&gt;
      &lt;div class="container"&gt;
          &lt;div class="row"&gt;
              &lt;div class="col-md-12"&gt;
                  &lt;div class="dropdown"&gt;
                      &lt;button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown"&gt;
                          Select                         &lt;span class="caret"&gt;&lt;/span&gt;
                      &lt;/button&gt;
                      &lt;ul class="dropdown-menu"&gt;
                          &lt;li&gt;&lt;a href="#"&gt;APP1&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="#"&gt;APP2&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="#"&gt;APP3&lt;/a&gt;&lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/div&gt;
  
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;script&gt;
      $(document).ready(function () {
          $('.dropdown-menu a').click(function () {
              //Need to show the selected Value
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>In the above code click event is working but value is not getting selected and displayed.
  How to do ?</p>