Assign shortcut keys to input button using jQuery
<pre><code>&lt;html&gt;
&lt;script&gt;
$('#pasteButton').click( function() {

  // place code for this button
  // ctrl + v shortcut should work for this button
  // how?
  }

});

&lt;/script&gt;
&lt;body&gt;
    &lt;input type="button" id="pasteButton" value="Paste" /&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Thanks in advance. Similarly, I also need to cut / copy selected text from a textarea using buttons.</p>
