JavaScript » Password » select

Syntax:
object.select()
 
NOTE:
 
The Select object also inherits the watch and unwatch methods from the Object object.

This method causes the input area of a Password object to be selected and the cursor to be positioned ready for user input.