The mobile terminal clicks the key that input pops up to be the numeric keyboard, how to realize?

the key that input pops up by clicking on the mobile terminal is a numeric keypad. How can it be realized?

No input Chinese is allowed, as long as the numeric keypad is realized. "

Nov.08,2021

< input type= "number" pattern= "\ d*" / > or < input type= "tel" / >


type= "number" is the keyboard that pops up to be numeric by default.
but users can manually switch between Chinese keyboards.
you want this
https://codeshelper.com/a/11.


do you mean that you can only enter numbers? if so, you can use rules to judge in real time, and if not numbers will not be displayed. I think what you want is this


draw your own keyboard

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2a9ea-32d62.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2a9ea-32d62.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?