Help me understand JavaScript events
        Posted  
        
            by Anil Namde
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Anil Namde
        
        
        
        Published on 2010-04-21T12:52:59Z
        Indexed on 
            2010/04/21
            13:03 UTC
        
        
        Read the original article
        Hit count: 674
        
JavaScript
I have a table full of cells and i would like to get on which cell the mouse is.
For this i have attached events to all the cells and then i am finding the elements. But i guess there could be a better options. right ?
Is it possible that i attach only single event handler on top and still be able to catch all the information. like which cell user is currently on etc.
Something like below,
<table onMouseOver="monitorFuntion(event)" >...</table>
        © Stack Overflow or respective owner