title: jQuery/js for loop, adding variable with different end number to separate div
body: <p>Say I have the following variables </p>
  
  <pre><code>example1 = 1
  example2 = 32
  example3 = 3345
  etc all the way to something big, like
  example100 = 222
  </code></pre>
  
  <p>I want to append each number into a separate div, each div labelled:</p>
  
  <pre><code>&lt;div class = "exam1"&gt; &lt;/div&gt;
  &lt;div class = "exam2"&gt; &lt;/div&gt;
  etc all the way to exam100
  </code></pre>
  
  <p>How can I do this using a for loop?</p>
  
  <pre><code>for ( var i = 1; i &lt; 100; i++ ) {
       $(".exam"+i).empty();$(".age-"+i).append( **????** );
  
  }
  </code></pre>
  
  <p>I just don't know how to add a number i onto the end of a variable so that it will work, any ideas?</p>