See also Text.focus , Text.select focus Navigates to the text field and gives it focus. You can then either programmatically enter a value in the field or let the user enter a value. If you use this method without the select method, the cursor is positioned at the beginning of the field. Example See example for select . Invokes the handler for the specified event.
Parameters event The name of an event for which the specified object has an event handler.
Parameters None Description Use the select method to highlight the input area of a text field. You can use the select method with the focus method to highlight a field and position the cursor for a user response. This makes it easy for the user to replace all the text in the field.