The fromElement can be used with the contains method to determine whether the mouse is on the firing event. Move your mouse onto the button below.







[right-click in the window to view the source code]



[Right-click and choose View Source from the shortcut menu.]

© 2007 Microsoft Corporation. All rights reserved. Terms of use.