How to copy the selected text to a textarea on double click using php

Hello, in this article i m explain all of you that how to copy the selected text using jquery. after running this below code click on Hi.welcome to…. select this text and double click on that and that text is storing into hidden variable and instead of hidden variable you can store it in textarea also.