I am creating an iPhone webapp with a textbox and would like to change the return key to "search". When you click on the textbox, the keyboard pops up and the return key on the bottom right of the keyboard displays "return" by default.
However if you go to google.com on your iPhone and click on the search textbox the return key on the bottom right displays "Go", while yahoo.com's search box displays "Search". I tried looking through google and yahoos source code but couldn't find any specific property they are using to do this.
This is a webapp and not a native app.
** Update - 9/12/2011 **
google.com's search textbox now displays "Search" for the return key instead of "Go"
Figured it out..
you have to add title="Search" to the textbox AND the textbox must be within the FORM tags.
Example:
<FORM ...>
<INPUT TYPE="text" TITLE="Search" ...>
</FORM>
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