select method (input, isindex, textarea)
Highlights the entire text in the element.
The selected element automatically gets the focus. A call to the select method fires the onselect and onfocus events.
You can find the related objects in the Supported by objects section below.
This method has no return value.
Example HTML code 1:
This example illustrates the use of the select method:
Did you find this example helpful?
User Contributed Comments