gridishere — 2014-02-12T08:23:50-05:00 — #1
I need a small solution in order to select all text in a textbox when I click on it which I have predefined in the source. This text can have multiple lines and can be PHP, Jquery, HTML or whatever what kind of text.
The idea behind is that I can click on it and with Ctrl-C I can move the selection to my clipboard in order to put in my IDE (editor).
It should look something like this: http://jsfiddle.net/NNqyF/
That demo is not able to give multiple lines and any kind of code or text.
If anyone has got a solution it would be really appriciated.
Thanks in advance for any help!
gridishere — 2014-02-14T08:43:46-05:00 — #2
The final solution is what I found here:
Have a nice day,
technobear — 2014-02-14T08:57:51-05:00 — #3
Thanks for posting back, @gridishere, but I'm afraid that link is incomplete and giving a 404 error.