|
// Captured the Window Load Handler.
function WindowLoadHandler(src)
{
// Get milliseconds to wait
var msec = $O('mseconds').value;
// Capture the document example mouse down.
$CJEM.Add('document','example', 'onmousedown', DocumentExampleMouseDownHandler, null, msec);
}
// Captured the document example mouse down event.
function DocumentExampleMouseDownHandler(src)
{
alert("You captured the '" + src.EventType + "' from the control: '" + src.ControlID + "'");
}
// Capture the Window Load Event one time.
$CJEM.Add('window','window','onload', WindowLoadHandler, 1);
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.