Textarea with GO button (send) on iPhone

I have a form with a text box (this is a chat). Pressing Enter represents the form (via javascript / jquery)

It works great on all regular computers with an enter key. But there is no input key on the iPhone, and the GO (submit) button does not appear, that is, the form cannot be submitted

No problem if textarea instead type type = "text" , but then I skip multiline wrapping, etc. from text box

How do I get around this? I would prefer not to show the submit button and not create two versions of the form. And I believe that an input field cannot behave like a text field, right? (Multi-line)

+3
source share

All Articles