Below is what I have come up with So far:
<input type="text" id="Copymachine" onclick="select_all(this)" class="text-center form-control" placeholder="username:password">
I have a button. I can select the text I want from the page, but can not figure out how to now, copy to clip board and paste from clipboard to "New Text Document (3)" a .txt file on my desktop. In other words I want to be able to click the text thats generate and in one click, highlight it and paste it into a .txt on the desktop.
I was going to add the Java tag. I am unfamiliar with web coding.