activeElement是focus的对象(Identifies the element that has the focus.
This read-only property is set when you select a control in the interface or use the focus method.)
srcElement是激发事件的对象(Specifies the element that fired the event.)
document.activeElement和event.srcElement的区别
最新推荐文章于 2022-08-18 22:31:44 发布