Greetings

I need to capture the Event object when using the onclick attribute, to find
out what was the element that was clicked upon.
my html is:
<ul onclick="bob()">
   <li>ddfdf</li>
   <li>dfsaff</li>
    ....
    ....
    ....
</ul>

If there is another way to find out which LI was clicked?
I can't put the onclick event in the LI level.

Reply via email to