2010-10-27 25 views

回答

3

只需访问document.activeElement即可在Firefox 3.6,IE 7,Chrome 6和Safari 4中使用。未经测试。

+0

我在IE 8中测试了它。它的工作原理。 – 2010-10-27 17:38:03