select

HTML (DHTML)

select Method

Internet Development Index

Highlights the input area of a form element.

Syntax

object.select()

Return Value

No return value.

Remarks

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

Standards Information

This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, TEXTAREA

See Also

onselect