Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: captureEvents and clickHandler(e)


Message #1 by arsal01@h... on Thu, 21 Nov 2002 20:23:31
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

  Return to Index