Progress Monitor has 100s of Code Samples and Video Tutorials

Example #1: Demonstrates detecting event currentTarget using recommended technique for registering events

This example demonstrates how to detect the element (currentTarget) that triggered the event.

Example One: click this link - currentTarget does not work in IE, but srcElement does


Example #2: Using In-line javascript is simplier, but blurs structure and behavior

Click the link below. mousedown, mouseout, mouseup, click and dblclick are registered inline the link below.

Example Two: click this link - currentTarget does not work in IE, but srcElement does.


---Messages for both examples follow---