title: greasemonkey duplicate button
body: <p>I have no experience in js, although i am trying to write a greasemonkey script to duplicate a button in the website. I am using an auction and bid button is in where uncomfortable place, so i am looking to duplicate the button and add it in the bot of the website. So far i spent few hours researching and wrote this script: unfortunately its not working... Any help is appreciated. thank you.</p>
  
  <pre><code>// create button
  var btn = document.createElement( 'input' );
  with( btn ) {
    setAttribute( 'onclick', ' document.getElementById(\'contentPlaceholder_CurrentSalesList_gvCurrentSales_btnEdit_1').click);
    setAttribute( 'value', 'mygtukas' );
    setAttribute( 'type', 'button' );
  }
  
  // append at end
  document.getElementsByTagName( 'body' )[ 0 ].appendChild( btn );
  </code></pre>
  
  <p>The whole project task is: there is a button on the website with id:something_1 
  and this button moves from time to time, i dont want it to move, so i want to create a duplicate button, in the bottom of the page, so when i click it, it does the same as moving button. </p>