Home > Web Front-end > JS Tutorial > body text

The problem that the input box cannot be input when moving the div_javascript skills

WBOY
Release: 2016-05-16 18:41:36
Original
1235 people have browsed it

I was recently working on a project that involved the application of a mobile layer. As a result, the mobile layer was used, but the input box inside could not be used. This was because the input box was blocked by the layer coverage, but because I set up a layer It is transparent, so you can still see the input box, but you can't input anything. Later, I finally found a solution, which is to add

Copy code The code is as follows:
document.getElementById("Mcount").focus()

This sentence is Let our input box get focus, so that we can type haha
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template