EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

fromElement property

Sets or retrieves the object from which activation or the mouse pointer is exiting during the event.

Syntax

JavaScript

p = object.fromElement

Property values

Type: Object

the previous location of activation or the mouse pointer.

Examples


<SCRIPT>
function testMouse(oObject) {
	if(!oObject.contains(event.fromElement)) {
		console.log("mouse arrived");
	}
}
</SCRIPT>
:
<BUTTON ID=oButton onmouseover="testMouse(this)">Mouse Over This.</BUTTON>

See also

event

 

 

Send comments about this topic to Microsoft

Build date: 11/14/2012

Anzeigen:
© 2014 Microsoft