all in select js code example
Example: js select all
// This will select all of the text in the textarea or input called element
element.select();
// This will select all of the text in the textarea or input called element
element.select();