Hi everyone,

I'm developping a web app on iphone for my company.

In this app, I put controls on the client side (with JavaScript) ton
handle text inputs from the user.
For example, in a zip code field, my controls only accept numbers and
so on...
To do that, I test if the key entered matches a character from a list
(with a onkeypress event).
The problem is that this type of control doesn't let the user press on
the backspace key. So I tried to test this case with the key value of
backspace but it doesn't seem to change anything.

Has someone ever faced this problem ? Does anyone know the keycode for
the backspace key on the iPhone ?

Or if you have an alternative solution to propose, I'm listening...

Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to