Partilhar via


srcElement property

Gets the element that the event was originally dispatched to. Compare to IDOMEvent::target.

 

Syntax

HRESULT value = object.get_srcElement(IHTMLElement** p);

Property values

Type: Object

The original event target.

Standards information

There are no standards that apply here.

Remarks

Note  The IDOMEvent::srcElement property is provided for backward compatibility. Use the IDOMEvent::target property instead.

 

See also

IDOMEvent::target