How to change keyboard button "Return" to "Search" for input in a UIWebView?
input, ios, javascript, search, uiwebview
Solution
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
Problem
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?