当前位置: 动力学知识库 > 问答 > 编程问答 >

javascript - hybird, input tag focus do not open my visual keyboard when open new webview

问题描述:

My case is, open new webview and load my html search page.

I use input.focus() try to open my visual keyboard. But it seems not working.

So, why it does not working? And How to solve this?

Thanks for your answer.

网友答案:

I'm not sure what your code looks like but you can try put autofocus in your html input tag and give that a run.

<input autofocus>

also what does your javascript look like and what are you using to look at the site?

网友答案:

You can Use several Pseudo Class like:

:hover, :active, :focus, :visit

分享给朋友:
您可能感兴趣的文章:
随机阅读: