Input Number select() Method
Example
Select the content of a number text field:
document.getElementById("myNumber").select();
Try it Yourself »
Definition and Usage
The select() method is used to select the content of a number text field.
Browser Support
| Method | |||||
|---|---|---|---|---|---|
| select() | Yes | Yes | Yes | Yes | Yes |
Syntax
numberObject.select()
Parameters
| None. |
Technical Details
| Return Value: | No return value |
|---|
❮ Input Number Object