2

HTML

<input id="inputText" type="text" />

JS

document.getElementById('inputText').focus();

When My page is opened, I want to show the mobile keyboard by focusing on the input tag.

kyun
  • 9,710
  • 9
  • 31
  • 66
  • this seems only to work from an onclick event: https://stackoverflow.com/questions/6837543/show-virtual-keyboard-on-mobile-phones-in-javascript – Bobbey Apr 06 '19 at 08:18

0 Answers0