title: Get a shortened script of more scripts
body: <p>On category pages of my shop I have the list of my product and I need to change the position of a wishlist button of every product on the list, so I create these jQuery scripts: </p>
  
  <pre><code>jQuery('.product:nth-child(1) .btn').insertBefore('.product:nth-child(1) .wishlist');
  jQuery('.product:nth-child(2) .btn').insertBefore('.product:nth-child(2) .wishlist');
  jQuery('.product:nth-child(3) .btn').insertBefore('.product:nth-child(3) .wishlist');
  jQuery('.product:nth-child(4) .btn').insertBefore('.product:nth-child(4) .wishlist');
  jQuery('.product:nth-child(5) .btn').insertBefore('.product:nth-child(5) .wishlist');
  jQuery('.product:nth-child(6) .btn').insertBefore('.product:nth-child(6) .wishlist');
  jQuery('.product:nth-child(7) .btn').insertBefore('.product:nth-child(7) .wishlist');
  jQuery('.product:nth-child(8) .btn').insertBefore('.product:nth-child(8) .wishlist');
  jQuery('.product:nth-child(9) .btn').insertBefore('.product:nth-child(9) .wishlist');
  jQuery('.product:nth-child(10) .btn').insertBefore('.product:nth-child(10) .wishlist');
  and so on...
  </code></pre>
  
  <p>I want shorten my scripts in only one script or function, without use lot of :nth-child(x). </p>
  
  <p>How can I do this?</p>
  
  <p>P:S. I cannot use the script </p>
  
  <pre><code>jQuery('.product .btn').insertBefore('.product .wishlist');
  </code></pre>
  
  <p>because every .btn elements go in every .product elements.</p>