Answers for "how to make a textarea show all texts js"

1

select all text in textarea javascript

<textarea onclick="this.focus();this.select()"></textarea>

<!-- To copy the text -->
<textarea onclick="this.focus();this.select();document.execCommand('copy')"></textarea>
Posted by: Guest on June-27-2020

Code answers related to "how to make a textarea show all texts js"

Browse Popular Code Answers by Language