Search code examples
androidhtmlmobile-safari

Showing search button as submit button in mobile devices keyboards


I want to show Search button in mobile devices keyboards when focusing on search input field in my HTML5 document :

Search Button in android devices HTML5


Solution

  • You can use HTML5 type attribute for input element in HTML page

    For example.

    <input id="mysearch" type="search" />