title: jQuery move multiple DOM elements into other elements using their classes (not IDs)
body: <p>I'm working on a page with multiple blog articles and due to constraints of the current platform/template can't move the comment count in the HTML.</p>
  
  <p>I would like to move the .reaction-count elements from one part of each article into another part.</p>
  
  <p>I've read the solutions on this thread: <a href="https://stackoverflow.com/questions/1279957/how-to-move-an-element-into-another-element">How to move an element into another element?</a> but I'm still not sure how to translate that into what I need.</p>
  
  <p>Here's what I've tried so far. It's not quite working since it moves all the .reaction-count elements into all the .post-title elements instead of just the .reaction-count for that particular article.</p>
  
  <p>One attempt:
  <a href="http://jsfiddle.net/DanEvans/jbgC4" rel="nofollow noreferrer">http://jsfiddle.net/DanEvans/jbgC4</a></p>
  
  <p>Another attempt:
  <a href="http://jsfiddle.net/DanEvans/jbgC4/5/" rel="nofollow noreferrer">http://jsfiddle.net/DanEvans/jbgC4/5/</a></p>
  
  <p>Here's some simplified example HTML that mimics the situation:</p>
  
  <pre><code>&lt;div class="entry-content"&gt;
      &lt;h2 class="post-title"&gt;
          &lt;a href="#"&gt;Post #1&lt;/a&gt;
      &lt;/h2&gt;
  
      &lt;p&gt;Lots of other text and elements&lt;/p&gt;
  
      &lt;span class="reaction-count"&gt;
          &lt;br&gt;&lt;a href="#"&gt;Post #1 Comments&lt;/a&gt;
      &lt;/span&gt;
  &lt;/div&gt;
  &lt;hr&gt;
  &lt;div class="entry-content"&gt;
      &lt;h2 class="post-title"&gt;
          &lt;a href="#"&gt;Post #2&lt;/a&gt;
      &lt;/h2&gt;
  
      &lt;p&gt;Lots of other text and elements&lt;/p&gt;
  
      &lt;span class="reaction-count"&gt;
          &lt;br&gt;&lt;a href="#"&gt;Post #2 Comments&lt;/a&gt;
      &lt;/span&gt;
  &lt;/div&gt;​
  </code></pre>
  
  <p>One of the first things I tried:</p>
  
  <pre><code>$('.reaction-count').appendTo('.post-title');​
  </code></pre>
  
  <p>Thanks in advance for any help!</p>