mar*_*ant 3 javascript search input uiwebview ios
我有这个简单的HTML文件,它将在UIWebView中显示.
<html>
<body>
<p>
<input name='search' type='search' placeholder="Input type is search" />
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
这是我点击输入框时的屏幕截图.

如何像Google页面一样将"返回"按钮更改为"搜索"?

我找到了一个简单的解决方 只需使用表单标记包装输入,这样HTML就像这样.
<html>
<body>
<p>
<form>
<input name='search' type='search' placeholder="Input type is search" />
</form>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
现在键盘看起来像

| 归档时间: |
|
| 查看次数: |
5484 次 |
| 最近记录: |