哪些浏览器支持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+,歌剧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屋!
查看全文