Iphone Development - How to display a numeric keyboard?

前端 未结 3 868
傲寒
傲寒 2021-01-05 06:52

I\'m working on a mobile website which is NOT a native iPhone app but rather a simple m.somedomain.com website which is developed in c# asp.net .

Objective : On clic

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-05 07:53

    EDIT: I found here that you can use

    to tell mobile safari to set the numeric keyboard as default, without needing to specify the telephone keyboard.

    EDIT 2 (from comments below): You can also use javascript to force numeric input as so:

提交回复
热议问题