Partager via


select method

[This documentation is preliminary and is subject to change.]

Highlights the input area of a form element.

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

Syntax

HRESULT retVal = object.select();

Standards information

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.

Remarks

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

See also

onselect

 

 

Build date: 1/26/2012