Prototype This page is part of the Prototype JavaScript framework documentation.
Overview | (...)

The following notes were taken from the comment above the function in the Prototype code.

Event.findElement finds the first node with the given tagName, starting from the node the event was triggered on; traverses the DOM upwards.

Syntax


  Event.findElement(event, tagName);