title: Add and delete clone?
body: <p>Must have made a small mistake. There is a jsfiddle that I've worked on. I am trying to get the add and delete buttons working.</p>
  
  <p>They also have a hide and show element that I haven't included but it shouldn't matter?</p>
  
  <p><a href="http://jsfiddle.net/27N7Y/" rel="nofollow">http://jsfiddle.net/27N7Y/</a></p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div class="question"&gt;
  &lt;div class="questiontext"&gt;
      23. Have you or anyone included in this application ever previously applied for a visa or travelled to Australia?
  &lt;/div&gt;
  &lt;div class="questionradioanswer"&gt;
      No &lt;input type="radio" id="notravel" name="previousvisa" value="No" class="radiobutton"&gt;
      Yes &lt;input type="radio" id="yestravel" name="previousvisa" value="Yes" class="radiobutton"&gt;
      &lt;/div&gt;
      &lt;div id="question23hide"&gt;
          Provide dates of previous visits to Australia&lt;br&gt;
          &lt;select id="selectday6" class="daydate"&gt;
              &lt;option&gt;Day&lt;/option&gt;
              &lt;script&gt;
                  var select = document.getElementById("selectday6");
                  var options = new Array();
                  var temp = 1;
                  for (var i = 0; i &lt; 31; i++) {
                  options.push(temp);
                  temp++;
                  }
                  for (var i = 0; i &lt; options.length; i++) {
                  var opt = options[i];
                  var el = document.createElement("option");
                  el.textContent = opt;
                  el.value = opt;
                  select.appendChild(el);
                  }
              &lt;/script&gt;
          &lt;/select&gt;
          &lt;select id="selectmonth6" class="monthdate"&gt;
              &lt;option&gt;Month&lt;/option&gt;
              &lt;script&gt;
                  var select = document.getElementById("selectmonth6");
                  var options = ["January", "Febuary", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
                  for (var i = 0; i &lt; options.length; i++) {
                  var opt = options[i];
                  var el = document.createElement("option");
                  el.textContent = opt;
                  el.value = opt;
                  select.appendChild(el);
                  }
              &lt;/script&gt;
          &lt;/select&gt;
          &lt;select id="selectyear6" class="yeardate"&gt;
              &lt;option&gt;Year&lt;/option&gt;
              &lt;script&gt;
                  var select = document.getElementById("selectyear6");
                  var options = new Array();
                  var firstyear = (new Date().getFullYear()) - 18;
                  var temp = firstyear;
                  for (var i = 0; i &lt; 83; i++) {
                  options.push(temp);
                  temp--;
                  }
                  for (var i = 0; i &lt; options.length; i++) {
                  var opt = options[i];
                  var el = document.createElement("option");
                  el.textContent = opt;
                  el.value = opt;
                  select.appendChild(el);
                  }
              &lt;/script&gt;
          &lt;/select&gt;
          &lt;/div&gt;
          &lt;div id="adddeleteprevious"&gt;
              &lt;div id="addprevious"&gt;
                  &lt;input type="button" class="button" value="Add Previous Visits"&gt;
                  &lt;/div&gt;
                  &lt;div id="deleteprevious"&gt;
                      &lt;input type="button" class="button" value="Delete Previous Visits"&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>JQUery:</p>
  
  <pre><code>$("#addprevious").click(function(){
      $(".question23hide:last").after($(".question23hide:first").clone(true));
  });
  
  $("#deleteprevious").click(function() {
      if($(".question23hide").length!=1)
          $(".question23hide:last").remove();
  });
  </code></pre>