title: I want to create multiple DOM elements
body: <p>I want to create multiple DOM elements using javascript. The sequence is 'dropdown', '3 textboxes'. When I click on (+) button it all should be placed together. Will someone help me out this???</p>
  
  <pre><code> &lt;script type="text/javascript"&gt;
       function add_elements(new1)
       {
           var i=1;
          var sel=document.createElement('new1');
          var sel1=document.createElement('new1');
          sel.innerHTML='&lt;select&gt;&lt;option value=""&gt;--SELECT SIZE--&lt;/option&gt;&lt;option value="6"&gt;6&lt;/option&gt;&lt;option value="8"&gt;8&lt;/option&gt;&lt;option value="10"&gt;10&lt;/option&gt;&lt;option value="12"&gt;12&lt;/option&gt;&lt;option value="14"&gt;14&lt;/option&gt;&lt;option value="16"&gt;16&lt;/option&gt;&lt;/select&gt;';
      var element = document.createElement("input");
      //Assign different attributes to the element.
      element.setAttribute("type", 'text');
      element.setAttribute("name", 'txtRate');
      var foo = document.getElementById("el");
      foo.appendChild(element);            
       }
      &lt;/script&gt;
  </code></pre>