title: Add multiple val to input from class
body: <p>I have many div elements with same class names. I want the user to be able to choose some of them in to a form input text element (value). So far I only made it put the last clicked one.</p>
  
  <pre><code>  &lt;div class="post"&gt;
      &lt;div class="addThis"&gt;A&lt;/div&gt;
      &lt;div class="addThis"&gt;B&lt;/div&gt;
      &lt;div class="addThis"&gt;C&lt;/div&gt;
      &lt;/div&gt;
  &lt;input type="text" id="Choice"&gt;
  
  jQuery('.addThis').click(function() {
  var x = jQuery(this).closest('.post').find('addThis').text();
  var y = jQuery("#Choice").val(x);
  </code></pre>
  
  <p>The var y is there because I tried to do something with it. But all attempts failed. Tried with </p>
  
  <pre><code>var t += y;
  jQuery("#Choice").val(t);
  </code></pre>
  
  <p>and a lot that I already forgot</p>
  
  <p>Thanks for your help</p>