iPad HTML5默认键盘到符号视图? [英] iPad HTML5 default keyboard to symbol view?

查看:107
本文介绍了iPad HTML5默认键盘到符号视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在HTML5应用程序中有一个数据输入表单,用户将在iPad 2上填写。

I have a data entry form in a HTML5 application that users will be filling in on an iPad 2.

有没有办法让iPad键盘默认为符号视图(即数字 1,2,3,4,5,6,7,8,9,0 的键盘)?

Is there any way to make the iPad keyboard default to the "Symbols" view (i.e. the keyboard with the numbers 1,2,3,4,5,6,7,8,9,0)?

他们只会在这些字段中输入数字,而且每次点击下一步时它都会非常令人沮丧,它会恢复到QWERTY视图。

They will only be entering numbers in these fields, and it's quite frustrating every time you hit "next" it reverts back to the QWERTY view.

您可以使用一些 -wap CSS在iPhone上执行此操作,但不幸的是它无法在iPad上运行。

You could do this on the iPhone by using some -wap CSS, but it doesn't work on the iPads unfortunately.

推荐答案

我自己没有测试过,但根据 Apple的文档这应该有效:

I haven't tested this myself, but according to Apple's docs this should work:

<input type="number">

这篇关于iPad HTML5默认键盘到符号视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆