Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to select all text when input box is clicked

<input type="text" onClick="this.select();" value="Sample Text"/>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #text #input #box #clicked
ADD COMMENT
Topic
Name
4+3 =