title: Bootstrap submenu is not working properly
body: <p>Submenu is not working properly in below code. Can you please provide the solution?</p>
  
  <p>Here is code,
  <a href="http://jsfiddle.net/4UVt3/1/" rel="nofollow">http://jsfiddle.net/4UVt3/1/</a></p>
  
  <p>Same fiddle copy-pasted here,</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;    
      &lt;link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet"/&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"&gt; &lt;/script&gt;
      &lt;script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
    &lt;div class="dropdown"&gt;
    &lt;a class="dropdown-toggle" data-toggle="dropdown" href="#"&gt;Dropdown trigger&lt;/a&gt;
     &lt;ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"&gt;
        &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt;
        &lt;li class="dropdown-submenu"&gt;
          &lt;a tabindex="-1" href="#"&gt;More options&lt;/a&gt;
          &lt;ui class="dropdown-menu"&gt;
            &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Submenu 1&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Submenu 2 &lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Submenu 3 &lt;/a&gt;&lt;/li&gt;
          &lt;/ui&gt;
        &lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>