HTML元素设置焦点的方法
摘要:
<body
<form action="" method="post" name="form1" >
<input type="text" id="id" />
</form>
</body>
<script> function myfocus() { document.getElementById('id').focus(); } </script>
【HTML元素设置焦点的方法】相关文章:
上一篇:
html用style添加属性示例