javascript event srcElement
| srcElement | NN n/a IE 4 DOM n/a |
| Read-only | |
|
Refers to the element object that initially received the current event. This property is convenient in switch constructions for an event handler function that handles the same event type for a number of different elements. The corresponding property for Netscape 6 is target. |
|
| Example | |
switch (evt.srcElement.id) {
case "myDIV":
...
...
}
|
|
| Value | |
Element object reference. |
|
| Default | |
None. |
|
Previous: javascript event srcFilter
786,Nickname,Homepage or email,Comments here,Add comment
