使用 PhoneGap 在 iPhone 上获取搜索键盘

使用 PhoneGap 在 iPhone 上获取搜索键盘

问题描述:

我在通过 PhoneGap 创建的移动应用程序上创建了一个搜索字段.我试过使用但没有运气.我也知道我可以通过 CSS & 绕过输入字段的视觉方面.Javascript,但是如何让键盘在右下角有一个搜索"按钮而不是说返回"

I have created a search field on a mobile app i am creating via PhoneGap. I've tried using with no luck. I also know that i could get around the visual aspect of the input field via CSS & Javascript, however how do i get the Keyboard to have a "SEARCH" button on the bottom right instead of it saying "RETURN"

使用

<form> ...
<input type="search" /> ...
</form>

是必须的.

(另见 http://groups.google.com/group/phonegap/browse_thread/thread/bca19709dbdf2e24/eb312d0607102395?lnk=raot)