What is returned is the same thing you'd get if you used $('id').
Chain on .identify to get the Id from a DOM node.

On Sunday, January 10, 2010, bill <[email protected]> wrote:
>
>
>
>
>
> The docs say:
>
>
>
> Event.element(event) -> Element
> Returns the DOM element on which the event occurred.
>
> But, what is actually returned ?
> If not the ID, what do I do to get the id of the div in which the click
> occurred ?
>
>
>
> --
> Bill Drescher
> william {at} TechServSys {dot} com
>
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.


Reply via email to