| Highlighting the content/value of text entry fields in a form
when they get the focus facilitates entering data.
However, current browsers do not always automatically select/highlight
text entry fields when they receive the focus. They place the
cursor either at the beginning or at the end of the entry field,
forcing users to select/highlight the content/value themselves.
This command searches your document for all form elements of type
'text', 'file' and 'password' and adds 'onFocus="this.select();"'
to these form elements to force browsers to highlight the entire
field contents when the field gets focus.
Access this command:
|