简体   繁体   English

Javascript:如何用逗号显示iOs数字键盘

[英]Javascript: How to show iOs numberic keyboard with a comma

<input type="number"> 

This input doesn't let you add comma, which is handy for making ammount inputs. 此输入不允许您添加逗号,这对于进行适量的输入非常方便。

Is there a way to add comma to the keyboard with javascript, like Revolut app did here? 有没有办法使用javascript将逗号添加到键盘,就像Revolut应用程序在这里所做的那样?

这是Revolut应用如何拥有它的示例:

<input type="number"> in iOS should show a keyboard with numbers and punctuation: iOS中的<input type="number">应该显示带有数字和标点符号的键盘:

iOS 9键盘

This is the closest you can get to your desired keyboard in HTML. 这是最接近HTML所需键盘的方法。

See more from Filament Group 从细丝集团看到更多

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM