简体   繁体   English

UIWebView-更改虚拟键盘的“开始”按钮文本?

[英]UIWebView - change virtual keyboard 'Go' button text?

I have a page that is displayed in an UIWebView on an iPad app. 我有一个在iPad应用程序的UIWebView中显示的页面。 The page has an input field, and when the user taps on it, the virtual keyboard popups up. 该页面有一个输入字段,当用户点击它时,虚拟键盘会弹出。

Currently, the keyboard has the blue 'Go' button. 当前,键盘上有蓝色的“开始”按钮。 I would like to change the button text from 'Go' to 'Done' and I want to grey-out/disable the button until the user types in at least 1 char. 我想将按钮文本从“转到”更改为“完成”,并且我希望将按钮变灰/禁用,直到用户键入至少1个字符为止。

Is this possible with Javascript/jQuery mobile? Javascript / jQuery mobile有可能吗? I don't have access to the app. 我无权使用该应用程序。

Thanks. 谢谢。

I don't think this is possible. 我认为这是不可能的。 Bu you can change some functionality of the keyboard in html. 您可以在html中更改键盘的某些功能。

More features should not be available without access to the app. 如果不访问该应用程序,则不应使用更​​多功能。 Instead of greying out the button, you can validate the form before submitting it with jQuery. 您可以在使用jQuery提交表单之前先对其进行验证,而不是使该按钮变灰。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM