Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

select method

Highlights the input area of a form element.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5

 

Syntax

object.select()

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

Remarks

Use this method with the focus method to highlight a field and position the cursor for a user response.

See also

input type=button
input type=checkbox
input type=email
input type=file
input type=image
input type=number
input type=password
input type=radio
input type=range
input type=reset
input type=search
input type=submit
input type=tel
input type=text
input type=url
textArea
onselect

 

 

Show:
© 2014 Microsoft