在iPad上更改html textarea的键盘类型 [英] Changing keyboard type for html textarea on iPad

查看:173
本文介绍了在iPad上更改html textarea的键盘类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为iPad编写一个Web应用程序。
我知道当使用以下方式选择html 输入字段时,可以更改显示的键盘类型:

I'm writing a web application for iPad. I know it's possible to change the type of keyboard displayed when an html input field is selected using:

Text: <input type="text" />
Telephone: <input type="tel" /> 
URL: <input type="url" /> 
Email: <input type="email" /> 
Zip Code: <input type="text" pattern="[0-9]*" />

问题是我必须使用 textarea 而不是输入即可。是否可以获得相同的结果?

the problem is that I have to use textarea instead of input. Is it possible to obtain the same result?

如果不是:有没有办法更改ENTER键的键盘标签。目前默认标签是返回,我想要发送(因为它是一个聊天应用程序)。

If not : is there any way to change the keyboard label for the ENTER key. At the moment the default label is "Return" and I would like to have "Send" (since it's a chat app).

非常感谢!

推荐答案

如果是普通的html / css / javascript。这是不可能的

If it is plain html/css/javascript. This is not possible

这篇关于在iPad上更改html textarea的键盘类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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