Copy contents of textarea

openmind's picture

He has: 945 posts

Joined: Aug 2001

I've done a google but not found a javascript to do this...

What I want to do is provide a button that when pressed copies the contents of a text area to the clipboard.

Ideas or a link to a script?

TIA

teammatt3's picture

He has: 2,102 posts

Joined: Sep 2003

openmind's picture

He has: 945 posts

Joined: Aug 2001

Thanks that got it Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.