srcElement property

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.
0 out of 1 rated this helpful - Rate this topic

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

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

 

 

Send comments about this topic to Microsoft

Build date: 1/23/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.