<br /><textarea cols="40" id="Inputtxt" readonly="" rows="10">SrOut OfficiaL</textarea>
<br />
<button onclick="myFunction()">Copy</button>
<script type="text/javascript">
function myFunction() {
var copyTxt =
document.getElementById("Inputtxt");
copyTxt.select();
document.execCommand("copy");
}
</script><br />