![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html
luxiaopengyou
这个作者很懒,什么都没留下…
展开
-
获取DOM当前焦点元素
//查询当前焦点元素document.activeElement//查询DOM名称类document.activeElement.localName原创 2021-07-27 19:31:39 · 729 阅读 · 0 评论 -
fa-spinner旋转小圈圈-Font Awesome字体
http://www.fontawesome.com.cn/get-started/<!DOCTYPE html><html> <head> <title>Font Awesome Icons</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="styleshe原创 2021-06-04 14:52:14 · 292 阅读 · 0 评论 -
原生标签的focus
使用与不使用setTimeout的代码如下:get('makeinput').onmousedown = function() { var input = document.createElement('input'); input.setAttribute('type', 'text'); input.setAttribute('value', 'test1'); get('原创 2021-06-04 10:17:49 · 344 阅读 · 0 评论