有没有办法让<input type="text">的数字键盘出现在手机上?我刚刚意识到HTML5中的是用于“浮点数”的,所以它不适合用于信用卡号码、邮政编码等。
<input type="text">
我想模拟<input type="number">的数字键盘功能,用于接受浮点数以外的数值的输入。也许有另一种合适的input类型可以做到这一点?
<input type="number">
input
https://stackoverflow.com/questions/6178556
相似问题