admin管理员组文章数量:1401291
I wanted to show the mobile keyboard in my responsive site. First at i tried to place a hidden input, with placeholder "tap here", but on this input i have an event, which when fires reloads the dom, and bucause of this a cannot able to show the keyboard.
The question is, there is a way to show the keyboard without an input? I'm using HTML5 doctype, and jQuery 2.
Thanks for the answers!
I wanted to show the mobile keyboard in my responsive site. First at i tried to place a hidden input, with placeholder "tap here", but on this input i have an event, which when fires reloads the dom, and bucause of this a cannot able to show the keyboard.
The question is, there is a way to show the keyboard without an input? I'm using HTML5 doctype, and jQuery 2.
Thanks for the answers!
Share Improve this question asked Dec 13, 2014 at 11:43 Arpad BajzathArpad Bajzath 8968 silver badges19 bronze badges 3- Why you want show keyboard without input? Set the keyboard visible if not used is a bad UX practice. – Mou Commented Dec 13, 2014 at 11:46
- Anyway, you can see this answer: stackoverflow./questions/6837543/… – Mou Commented Dec 13, 2014 at 11:47
- Because i'm building a game, which is using keyboard (keycodes) without inputs – Arpad Bajzath Commented Dec 13, 2014 at 11:48
2 Answers
Reset to default 3I'm afraid you can't open the keyboard without using a input. For more information you can read the following thread: Show virtual keyboard on mobile phones in javascript
If it is for a game, the best manner is create a propper layout with the buttons you want to use.
本文标签: javascriptShow mobile keyboard without input elementStack Overflow
版权声明:本文标题:javascript - Show mobile keyboard without input element - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744273441a2598296.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论