Export (0) Print
Expand All

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:
© 2014 Microsoft