哪些浏览器支持 document.activeElement? [英] Which browsers support document.activeElement?
本文介绍了哪些浏览器支持 document.activeElement?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
哪些网络浏览器/版本支持 document.activeElement
?
Which web browsers / versions have support for document.activeElement
?
此属性可让您查看哪个元素处于活动状态/具有焦点.
This property lets you see which element is active / has focus.
实现之间是否有任何主要问题/差异?
Are there any main gotchas/difference between implementations?
推荐答案
document.activeElement 支持 IE6+、FF3+、Safari 4+、Opera 9+、Chrome 9+.(FF2, Saf3 不支持此属性)
document.activeElement is supported by IE6+, FF3+, Safari 4+, Opera 9+, Chrome 9+. (FF2, Saf3 don't support this property)
这篇关于哪些浏览器支持 document.activeElement?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文