Category: JavaScript
Highlight text box contents on click
JavaScript is great for usability – there are a million different little tricks you can use to make your site more user-friendly, especially when it comes to forms. In this quick tutorial I show you how to setup a form text field contents to be highlighted when clicked on. This allows for quick editing in case you need to replace the contents of the field.
