4udesigns: textfeld inhalt kopieren

Beitrag lesen

Hallo,
Ich brauch einen Button zum kopieren, von Textfeldinhalten.
Das ist mein Code:
<textarea name="code" id="code" rows="5" cols="50">Hier
Mein
Code zum kopieren
</textarea></p>
<input type="button" name="copypaste" onclick="document.getElementById('code').select();document.getElementById('code').focus();" value="Script markieren und kopieren" class="copypastebutton" />