Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

srcElement property

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

Internet Explorer 9

 

Syntax

JavaScript

p = object.srcElement

 

Property values

Type: Object

The original event target.

Standards information

There are no standards that apply here.

Remarks

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

See also

BeforeUnloadEvent
CompositionEvent
CustomEvent
DragEvent
Event
FocusEvent
KeyboardEvent
MessageEvent
MouseEvent
MouseWheelEvent
MSSiteModeEvent
MutationEvent
StorageEvent
SVGZoomEvent
TextEvent
UIEvent
target

 

 

Show:
© 2017 Microsoft