Copy without Flash
There is currently no way to place text onto a user's clipboard without a plugin (normally Flash). Instead, this plugin creates an invisible input with the text to target selected and then asks the user to press their 'copy' keyboard shortcut.
bower install jquery-clipster
or download the production version or the development version.
In your web page:
<a class="clipster" data-text="1234">copy user id</a>
<script src="jquery.js"></script>
<script src="dist/clipster.min.js"></script>
<script>
jQuery(function($) {
$('a.clipster').clipster();
});
</script>