onclick input text select code example
Example: onclick input text select
<input type="text" value="click the input to select" onclick="this.select();"/>
<input type="text" value="click the input to select" onclick="this.select();"/>