ok guys new prob
i need to know how i can find out which object recived an event. i do know that there is an event object in the window object but im not sure how to use it. any help would be great, or an exmple would be great thanx
Last edited by z_mirza; 06-05-2003 at 09:46 PM.
for a general use on whole of the page,you can set the document to recieve click events
The code snippet below is tested(IE6+,NS6+ &opera7+).
var events = (document.all)?event:e;
//now you can get the event source
var esrc = (document.all)?event.srcElement:e.target;
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)