Gives focus to the password object. Parameters None Description Use the focus method to navigate to the password field and give it focus. You can then either programmatically enter a value in the field or let the user enter a value. In the following example, the checkPassword function confirms that a user has entered a valid password. Invokes the handler for the specified event.
Parameters event The name of an event for which the object has an event handler.
Parameters None Description Use the select method to highlight the input area of the password field. You can use the select method with the focus method to highlight a field and position the cursor for a user response. In the following example, the checkPassword function confirms that a user has entered a valid password.