Input Number select() Method

❮ Input Number Object

Example

Select the content of a number text field:

document.getElementById("myNumber").select();
Try it Yourself »

Description

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
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.