title: Swapping rows in JQuery
body: <p>If I have a table as shown below, and have a up and down arrow that moves rows up and down, how would I go about swapping rows in JQuery?</p>
  
  <pre><code>&lt;tr id="Row1"&gt;
    &lt;td&gt;Some label&lt;/td&gt;
    &lt;td&gt;Some complex control&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr id="Row2"&gt;
    &lt;td&gt;Some label&lt;/td&gt;
    &lt;td&gt;Some complex control&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr id="Row3"&gt;
    &lt;td&gt;Some label&lt;/td&gt;
    &lt;td&gt;Some complex control&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>