title: How to clone and change id?
body: <p>I need to clone the id and then add a number after it like so <code>id1</code>, <code>id2</code>, etc. Every time you hit clone you put the clone after the latest number of the id.</p>
  <pre><code>$(&quot;button&quot;).click(function() {
      $(&quot;#id&quot;).clone().after(&quot;#id&quot;);
  }); 
  </code></pre>