iPhone Trigger keyboard in input field (HTML / Javascript)

前端 未结 1 1531
情书的邮戳
情书的邮戳 2021-01-23 15:50

I am trying to set a few input field connectd to each other.

in the 1st field you can enter 3 digit in the 2nd field you can enter 3 digit in the 3rd field you can ente

1条回答
  •  迷失自我
    2021-01-23 16:27

    An element.focus() should show the keyboard. You must be doing something wrong. Additionally if all your input / text areas are in a form element it should auto advance to the next element. You can also use element.blur() to hide the keyboard.

    0 讨论(0)
提交回复
热议问题