http://msdn.microsoft.com/library/en-us/wmplay/mmp_sdk/eventelementtoelement.asp

解决方案 »

  1.   

    event是window对象的一个属性。知道事件模型就能理解了。toElement表示去哪个对象看一下下面这个示例<button onmouseover="window.status='鼠标从'+event.fromElement.tagName+'移过来的';" onmouseout="window.status='移到'+event.toElement.tagName+'标签去了';return true;">1.先移到这里</button><input value="2.再移到这里">
      

  2.   

    event 是一个事件模型,当触发时间是。他包含所有可用的事件参数 如:keyCode 等,
    可以以event.keyCode访问,toElement是其中一个。Sets or retrieves a reference to the object toward which the user is moving the mouse pointer.