Home >Web Front-end >HTML Tutorial >How to set focus on HTML elements_HTML/Xhtml_Web page production

How to set focus on HTML elements_HTML/Xhtml_Web page production

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 16:36:461482browse

复制代码
代码如下:









<script> function myfocus() { document.getElementById('id').focus(); } </script>
Statement:
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