javascript thread: captureEvents and clickHandler(e)
Hi
I couldnt capture event and then handle it properly:
This is my code
<body onfocus="if (window.newwin) ClosingOption();" onclick="if
(window.newwin) ClosingOption();">
function ClosingOption() {
window.captureEvents(Event.CLICK | Event.FOCUS);
}
function clickHandler(e) {
alert("Click event caught");
return false;
}
any clue ....?
Thanks in advance
Arsalan
|





