Clicking on the button fires a script which has set FOR to the ID of the BUTTON, and EVENT="onclick()". Mousing off of the button fires an alert retrieving the value of the script's EVENT attribute using the event property.





[right-click anywhere 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.