HBCMS更多的中文手册参考:

activeElement参数属性

DHTML文档教程

Retrieves the object that has the focus when the parent document has focus.

dhtml语法

[ oactive = ] document.activeelement

dhtml可能的值

oActive Object that receives the element that has the focus.

The property is read-only. The property has no default value.

Remarks

Set the active element with the setActive or focus methods. using the setactive method has no effect on document focus. using the focus method on an individual element causes the element to gain focus and become the active element.

the active element retains focus in the parent document even when focus is shifted from the parent to another application. if the focus returns to the parent document, focus also returns to the same active element.

Note  For versions of Microsoft® Internet Explorer 5 and later, the activeElement property is not defined until a document is loaded. A value of null is given for this property if accessed inline during the loading of a document. However, this property can be accessed from within the onload event handler function.
Note  Internet Explorer 4.0 returns body as the activeelement when accessed inline during the loading of a document.

是否符合公共标准

There is no public standard that applies to this property.

Applies To

document