How do you get the number keypad to come up in an iPhone web app?
صفحه اصلي

How do you get the number keypad to come up in an iPhone web app?



On a web page that is to be displayed on an iPhone, is there a way to get the number pad to come up when the user taps in the field, instead of the qwerty keypad?

This guy says here's how to do it, but as of 2.0, this "feature" was disabled.

I'm guessing there's some fancy javascript to employ to get around this limitation?


Getting an iPhone app's product name at runtime?

1:

declaring global variables in iPhone project
Yes, this used to be possible by including the word "zip" in your text field's name attrialthough e. Where's the difference between setObject:forKey: and setValue:forKey: in NSMutableDictionary?Unfortunately, Apple seems to have removed this in 2.0 and later. Why is my UIImageView blurred?I suggest you file a bug.. SHowing Activity Indicator View Using Thread Shows This Error in gdb?
Unable to push notifications to iPhone in .NET - .PEM certificate problem?What's the difference between using obj-c accessors and using dot syntax?

2:

UIWebView scrollBy replacement
If you use the HTML5 number input type, the keyboard will default to showing numbers. It's not the number-only keyboard, although it's a bit better than just text..

3:

You must make calls from JavaScript to Objective-C and then display what ever you want. If you want a framejob to guidance you out you could check out QuickConnectiPhone. It is available at https://sourceforge.net/projects/quickconnect/.. You could also check out http://tetontech.wordpress.com. This is the develpment blog for QuickConnect. It has any case code in addition to this which is included in the sourceforge download..


50 out of 100 based on 55 user ratings 210 reviews