Select everything inside a div tag

Associate
Joined
6 Feb 2003
Posts
1,105
Location
London
Hi, I have a generated letter that I would like to place inside a div tag and then have a button you can click to select everything inside it (and preferably copy to clipboard too). Any ideas how I would go about this? The only select all buttons ive found on the web do it for a textarea which isnt what I want.
 
Back
Top Bottom