VOOZH about

URL: https://www.geeksforgeeks.org/html/html-dom-input-number-select-method/

⇱ HTML DOM Input Number select() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML DOM Input Number select() Method

Last Updated : 25 Aug, 2022

The Input Number select() Method in HTML DOM is used to select the contents of the Input Number field. it is the in-built method of the Number Object. 

Syntax

numberObject.select()

Parameters: This method does not contain any parameters.

Return Value: This method does not return any value.

Example: Below HTML code illustrate the use of input number select() method in HTML DOM .  

Output:

👁 HTML DOM Input Number select() Method
HTML DOM Input Number select() Method

Supported Browsers:

  • Google Chrome
  • Edge 12 and above
  • Firefox
  • Safari
  • Opera
Comment
Article Tags: