Вопрос

We are developing a hybrid application using IBM Worklight 6.1.

For iOS, how can we display the keyboard with a "Go" button, instead of "return" button?

Это было полезно?

Решение

See here: Go vs. return button in iOS keyboard for HTML input forms

The 'Go' button is only shown, if the <input> tag is inside a <form> tag. So, if you access your form elements afterwards with i.e. JavaScript, you can omit <form> tags.

'Go' button:

<form>
   <input type="text"></input>
</form>

iOS 7.1 screenshot of keyboard

return button:

<input type="text"></input>

iOS 7.1 screenshot of keyboard

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top