title: JavaScript create dynamically HTML section
body: <p>Hi I am trying to create programmatically the following HTML section in a specific div, by inserting the Dropdown name and Drop Item.  Thank you for any help.</p>
  
  <pre><code>&lt;ul class="nav"&gt;
          &lt;li class="button-dropdown"&gt;
              &lt;a href="javascript:void(0)" class="dropdown-toggle"&gt;Dropdown 1&lt;/a&gt;
              &lt;ul class="dropdown-menu"&gt;
                  &lt;li&gt;
                      &lt;a href="#"&gt;Drop Item 1&lt;/a&gt;
              &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>In simple, I would like to create 1 or 2 methods which accepts 2 strings, 1 for the Dropdown and the other for the Drop Item</p>