Input.select() (Method)

Triggers a Select event on an input object.

Availability:

DOM level - 1
JavaScript - 1.1
JScript - 3.0
Internet Explorer - 4.0
Netscape - 3.0
JavaScript syntax:-myInputObject.select()

If the Input object is a FileUpload, this selects all the text in the FileUpload object so that it can be cut or copied by the user if necessary or used as TextRange and have a command executed on it. It also triggers a Select event.

See also:FileUpload.select(), OptionsArray.select(), Password.select(), TEXTAREA.select(), TextCell.select()