Hi Guys

I have a text area(in php) that contain some text.I want a javascript that select the text and copy to clipboard automatically.Then it display "Link copied to clipboard alongside the text area

Can anyone of you suggest me a good javascript ?

Any solution that don't use jquery......

No no, you don't need JQuery but you may want an external library. I used to used ZeroClipboard library and it worked for a while. Unfortunately, it no longer works for me due to certain changed in browsers' securities. Don't know whether they have updated it already. Nowadays, I have to leave the "copy" part out and just simply highlight the area that user wants to copy.

Any solution that don't use jquery......

only IE provides native support - other than that, there isn't any.