【问题标题】:input type text doesn't work in ipad iOS 7输入类型文本在 ipad iOS 7 中不起作用
【发布时间】:2014-01-08 23:38:34
【问题描述】:

我有以下属于表单的输入:

<input type="text" name="phone" required>

当我从 iPad 访问页面时,我无法在文本输入中输入任何内容。键盘不显示所以我不能打字。我怎样才能解决这个问题?如果使用 textarea 更长的时间,这很奇怪..

【问题讨论】:

  • 因为您的name="phone" 属性告诉您要输入数字所以您尝试过&lt;input type="number"/&gt; 吗?
  • 没有,但我有另一个需要文本输入

标签: html css ipad safari


【解决方案1】:

试试下面的代码可能没问题..

<input type="text" name="phone" required />

【讨论】:

    猜你喜欢
    • 2014-04-14
    • 1970-01-01
    • 2012-06-27
    • 2015-01-16
    • 1970-01-01
    • 1970-01-01
    • 2013-09-28
    • 2011-02-04
    • 2017-08-28
    相关资源
    最近更新 更多