jquerymobile numerical keypad phonegap

橙三吉。 提交于 2019-12-12 08:58:11

问题


I'm using jquerymobile, but can't get the keypad to only show numeric keys (including decimals). Only default keypad is shown.I'm using phonegap, I use

<input type="number">

the problem is that the numpad is shown but when i use

input {-webkit-user-modify: read-write-plaintext-only;}

the default keypad is only shown. Any suggestion would be great.

Thankx.


回答1:


use $('#<element-id>').focus();



来源:https://stackoverflow.com/questions/16909603/jquerymobile-numerical-keypad-phonegap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!