Home Cooker Classes Others Rice CookerGX
Classes  >  document  >  ActiveElement
document class : ActiveElement getter

Description

Gets the element that has the focus when the document has focus.

Syntax

documentInstance.ActiveElement

Arguments

None

Return value

ClassDescription
elementThe element that has the focus.

Sample code

document d = new document();

element e = d.ActiveElement;

Notes

It's a wrapper of the MSHTML.IHTMLDocument2.activeElement.

Links for reference

Copyright © Rice All rights reserved.