如何获取DOM中当前获取焦点的元素

document.activeElement.id

posted @ 2013-05-07 17:38  Breaker-X  阅读(534)  评论(0编辑  收藏  举报