title: Moving a span element from one div to another with jQuery?
body: <p>I want to move (on page load) the <code>&lt;span&gt;votes&lt;/span&gt;</code> part at the bottom and place it inside the <code>.rating-result</code> div:</p>
  
  <pre><code>&lt;div class="topic-like-count average"&gt;
   &lt;h4&gt;
    &lt;div style="display: none"&gt;UN:F [1.9.10_1130]&lt;/div&gt;
    &lt;div class="thumblock "&gt;
     &lt;span class="rating-result"&gt;
       &lt;div id="gdsr_thumb_text_43_a" class="gdt-size-20 gdthumbtext"&gt;0&lt;/div&gt;
    &lt;/span&gt;
    &lt;div class="ratingtext "&gt;
    &lt;/div&gt;
    &lt;div class="raterclear"&gt;&lt;/div&gt;
    &lt;/div&gt;
   &lt;/h4&gt;
  &lt;span&gt;votes&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>So that the final result looks like this:</p>
  
  <pre><code>&lt;div class="topic-like-count average"&gt;
   &lt;h4&gt;
    &lt;div style="display: none"&gt;UN:F [1.9.10_1130]&lt;/div&gt;
    &lt;div class="thumblock "&gt;
     &lt;span class="rating-result"&gt;
       &lt;div id="gdsr_thumb_text_43_a" class="gdt-size-20 gdthumbtext"&gt;0&lt;/div&gt;
       &lt;span&gt;votes&lt;/span&gt;
    &lt;/span&gt;
    &lt;div class="ratingtext "&gt;
    &lt;/div&gt;
    &lt;div class="raterclear"&gt;&lt;/div&gt;
    &lt;/div&gt;
   &lt;/h4&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How to accomplish that with jQuery?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Forgot to mention that where is more than one <code>.topic-like-count</code> div (for example):</p>
  
  <pre><code>&lt;div class="topic-like-count good"&gt;
   &lt;h4&gt;
    &lt;div style="display: none"&gt;UN:F [1.9.10_1130]&lt;/div&gt;
    &lt;div class="thumblock "&gt;
     &lt;span class="rating-result"&gt;
       &lt;div id="gdsr_thumb_text_43_a" class="gdt-size-20 gdthumbtext"&gt;1&lt;/div&gt;
    &lt;/span&gt;
    &lt;div class="ratingtext "&gt;
    &lt;/div&gt;
    &lt;div class="raterclear"&gt;&lt;/div&gt;
    &lt;/div&gt;
   &lt;/h4&gt;
  &lt;span&gt;votes&lt;/span&gt;
  &lt;/div&gt;
  
  &lt;div class="topic-like-count average"&gt;
   &lt;h4&gt;
    &lt;div style="display: none"&gt;UN:F [1.9.10_1130]&lt;/div&gt;
    &lt;div class="thumblock "&gt;
     &lt;span class="rating-result"&gt;
       &lt;div id="gdsr_thumb_text_43_a" class="gdt-size-20 gdthumbtext"&gt;0&lt;/div&gt;
    &lt;/span&gt;
    &lt;div class="ratingtext "&gt;
    &lt;/div&gt;
    &lt;div class="raterclear"&gt;&lt;/div&gt;
    &lt;/div&gt;
   &lt;/h4&gt;
  &lt;span&gt;votes&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>(I think I need to use <code>($this)</code> somewhere)</p>