Skip to main content
srcElement property

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

Internet Explorer 9



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

Property values

Type: Object

The original event target.

Standards information

There are no standards that apply here.


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

See also