title: How to copy first row of a table using Jquery?
body: <p>I need to clone first row of table. I added a new button, but nothing happens!
  <code>#add_button</code> is placed after the table.</p>
  
  <blockquote>
    <p>(First row is the header)</p>
  </blockquote>
  
  <pre><code>$('#add_button').click(function(event) {
  var new_line = $(this).prev('table').find('tr:eq(1)');
  $(this).prev('table').append(new_line);
  });
  </code></pre>