HTML元素设置焦点的方法
代码如下:<body
<form action="" method="post" name="form1" >
<input type="text" id="id" />
</form>
</body>
<script> function myfocus() { document.getElementById('id').focus(); } </script>
https://www.uoften.com/webdesign/xhtml/20180414/68732.html
页:
[1]