Posted By

apphp-snippets on 02/13/13


javascript text selected

Versions (?)

Copy Selected Text in JavaScript

 / Published in: JavaScript


Sometimes you have some information on your page and your visitors might want to copy it. The easiest way is to provide a mechanism that allows them to simply click a button to do so. You have to paste this code into the head of your web page:

Report this snippet  

You need to login to post a comment.