title: How to get a Bootstrap dropdown submenu to 'dropup'
body: <p>I have a Bootstrap dropdown menu.  The last <code>li</code> item is a submenu.  How do I get the submenu to dropup while the full menu drops down?  Here's the code:</p>
  
  <pre><code>&lt;div class="dropdown"&gt;
      &lt;a class="inputBarA dropdown-toggle" data-toggle="dropdown" href="#"&gt;FILTER&lt;/a&gt;
      &lt;ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"&gt;
          &lt;li role="presentation"&gt;
              &lt;a role="menuitem" href="#"&gt;Text&lt;/a&gt;
          &lt;/li&gt;
          &lt;li role="presentation"&gt;
              &lt;label&gt;Label name&lt;/label&gt;
              &lt;label&gt;Label name&lt;/label&gt;
              &lt;label class="checkbox"&gt;
                  &lt;input type="checkbox"&gt;
                  Text &lt;/label&gt;
              &lt;label class="checkbox"&gt;
                  &lt;input type="checkbox"&gt;
                  Text &lt;/label&gt;
              &lt;label class="checkbox"&gt;
                  &lt;input type="checkbox"&gt;
                  Text &lt;/label&gt;
              &lt;label class="checkbox"&gt;
                  &lt;input type="checkbox"&gt;
                  Text &lt;/label&gt;
          &lt;/li&gt;
          &lt;li class="dropdown-submenu"&gt;
              &lt;a tabindex="-1" href="#"&gt;Centralities&lt;/a&gt;
              &lt;ul class="dropdown-menu"&gt;
                  &lt;label class="radio"&gt;
                      &lt;input type="radio" name="options" id="optionsRadios1" value="A" checked&gt;
                      AA &lt;/label&gt;
                  &lt;label class="radio"&gt;
                      &lt;input type="radio" name="options" id="optionsRadios2" value="B"&gt;
                      BB &lt;/label&gt;&lt;label class="radio"&gt;
                      &lt;input type="radio" name="options" id="optionsRadios2" value="C"&gt;
                      CC &lt;/label&gt;&lt;label class="radio"&gt;
                      &lt;input type="radio" name="options" id="optionsRadios2" value="D"&gt;
                      DD &lt;/label&gt;&lt;label class="radio"&gt;
                      &lt;input type="radio" name="options" id="optionsRadios2" value="E"&gt;
                      EE &lt;/label&gt;
              &lt;/ul&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>