문제

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