Answers for "how to select all text when input box is clicked"

0

how to select all text when input box is clicked

<input type="text" onClick="this.select();" value="Sample Text"/>
Posted by: Guest on May-26-2021
0

select all text of input onclick

<input type="text" onfocus="this.select();" onmouseup="return false;" value="test" />
Posted by: Guest on February-07-2021

Code answers related to "how to select all text when input box is clicked"

Browse Popular Code Answers by Language