title: Shuffle all DIVS with the same class
body: <p>What I need done is:
  Original State:</p>
  
  <pre><code>&lt;div class="shuffledv"&gt;
  &lt;div id="1"&gt;&lt;/div&gt;
  &lt;div id="2"&gt;&lt;/div&gt;
  &lt;div id="3"&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="shuffledv"&gt;
  &lt;div id="4"&gt;&lt;/div&gt;
  &lt;div id="5"&gt;&lt;/div&gt;
  &lt;div id="6"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>After Shuffle:</p>
  
  <pre><code>&lt;div class="shuffledv"&gt;
  &lt;div id="2"&gt;&lt;/div&gt;
  &lt;div id="3"&gt;&lt;/div&gt;
  &lt;div id="1"&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="shuffledv"&gt;
  &lt;div id="5"&gt;&lt;/div&gt;
  &lt;div id="4"&gt;&lt;/div&gt;
  &lt;div id="6"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The Divs within the first div stay there but get shuffled, and the same happens for the second div with the same class.
  To shuffle divs inside a specific div I use something like this:</p>
  
  <pre><code>function shuffle(e) {               // pass divs inside #parent to the function
              var replace = $('&lt;div&gt;');
              var size = e.size();
  
              while (size &gt;= 1) {
                  var rand = Math.floor(Math.random() * size);
                  var temp = e.get(rand);      // grab a random div from #parent
                  replace.append(temp);        // add the selected div to new container
                  e = e.not(temp); // remove our selected div from #parent
                  size--;
              }
              $('#parent').html(replace.html()); // add shuffled divs to #parent
  }
  </code></pre>
  
  <p>Called lie this: <code>shuffle('#parent .divclass')</code>
  Where all Divs with class <code>divclass</code> are inside <code>#parent</code>
  I think it should start out something like</p>
  
  <pre><code>function shuffle() {        
              $(".shuffledv").each(function() {
  </code></pre>
  
  <p>and then do some form of the original function, but I've just gotten completely lost at this point. I have no idea how to go forward from here. Please let me know if you need anymore info.</p>