HTML DOM Input Text select () method
Examples
Select the contents of the text field:
document.getElementById ( "myText") select ().;
try it"
Definition and Usage
select () method is used to select the contents of the text field.
Browser Support
All major browsers support select () method.
grammar
textObject .select ()
parameter
None. |
Technical details
return value: | No return value |
---|
Input Text Object