当前位置: 代码迷 >> Web前端 >> document.activeElement跟event.srcElement的区别
  详细解决方案

document.activeElement跟event.srcElement的区别

热度:139   发布时间:2012-10-19 16:53:36.0
document.activeElement和event.srcElement的区别

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.)

  相关解决方案