That's a really interesting question, and I was going asking a similar thing so I'll just put it here: Is there a way to tell the iPhone that a textfield accepts only numeric values so it displays the numeric keyboard immediately?
Regards, Christian Decker -- http://snyke.net/blog On Sep 10, 6:06 pm, sanford <[EMAIL PROTECTED]> wrote: > Hello, > > I have a <form> with two input objects: a field and a button. > > When the form is submitte a javascript:function() is executed and > the same document's DOM is modified via JavaScript's appendChild(). > > - If the user manually pushes the "OK" button the keyboard goes away > correctly. > > - If the user types a return on the keyboard, the form is submitted, > but the keyboard sticks around and isn't dismissed. > > The form/javascript does _not_ forward the user to another page or > load any data from a server. It merely modifies the DOM in-place. > > How do I get the keyboard to go away after the user submits the form > with the keyboard? I've tried to "blur()" the input field to remove > it from focus, but this did not work. > > Thanks, > Sanford --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
