title: jquery how to append multiple var's to a div?
body: <p>i have some var's:</p>
  
  <pre><code>var1 = ('1');
  var2 = ('2');
  var3 = ('3');
  </code></pre>
  
  <p>how to append them to a div using jquery <code>appendTo</code> ?</p>
  
  <pre><code>var1, var2, var3.appendTo('.div');
  </code></pre>
  
  <p>thanks</p>
  
  <p>edit:</p>
  
  <pre><code>var1 = $('&lt;div class="1"&gt;&lt;/div&gt;');
  var2 = $('&lt;div class="2"&gt;&lt;/div&gt;');
  var3 = $('&lt;div class="3"&gt;&lt;/div&gt;');
  </code></pre>
  
  <p>i want it to look like this:  </p>
  
  <pre><code>&lt;div class="div"&gt;
  &lt;div class="1"&gt;&lt;/div&gt;
  &lt;div class="2"&gt;&lt;/div&gt;
  &lt;div class="3"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>i can use:</p>
  
  <pre><code>var1.appendTo('.div');
  var2.appendTo('.div');
  var3.appendTo('.div');
  </code></pre>
  
  <p>but what if i have 15 vars??
  and <code>append</code> alone doesn't do the job</p>