I have this simple HTML file that is to be displayed in a UIWebView.
<html>
<body>
<p>
<input name='search' type='search' placeholder="Input type is search" />
</body>
</html>
Here is the screenshot when I clicked the input box.
How to change the Return button to 'Search' like Google page does?
I found a simple solution. Just wrap the input with form tag so the HTML looks like this.
<html>
<body>
<p>
<form>
<input name='search' type='search' placeholder="Input type is search" />
</form>
</body>
</html>
And now the keyboard looks like
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With