Auto Selecting Input Field Contents on Mouse Entering Field

You can do this simply with an onclick event like below.

<input onclick="select()" type="text"/>

Leave a Reply

Your email address will not be published. Required fields are marked *