Select all in div

wxdqz

New Member
What would the code be to select all the text in a div box? I've written a code generator that displays its output in a div box, I was just wondering how one could use a button to select all of the text, or better still copy it to clipboard,
Thanks,
IxxI
 
Back
Top