I would file a bug report if I were you. Hitting return in a text area should result in a new line in the box, and have the keyboard stay open for more typing. Hitting return on any other form element should submit the form, but also close the keyboard.
-=Randy On Sep 18, 2007, at 10:09 PM, Chris <[EMAIL PROTECTED]> wrote: > > Having the same problem and about to throw in the towel. > This is a major impediment to developing AJAX apps. > Did you ever have any luck finding a solution? > > On Sep 10, 12: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 thekeyboardgoes away >> correctly. >> >> - If the user types a return on thekeyboard, the form is submitted, >> but thekeyboardsticks 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 thekeyboardto go away after the user submits the form >> with thekeyboard? 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 -~----------~----~----~----~------~----~------~--~---
