|
help needed for clickhandler function
The clickHandler function was supposed to display the name of the node or element on which the user clicked. By attaching the function to the body element the whole page was "clickable".
function clickHandler(e) {
var obj = e.XXXXX;
alert(obj.XXXXX);
return false;
}
<body onload="return XXXXXXX (event);">
Can you please tell me what replaces the XXXXXX?
thx guys im strugglin a bit
|