On Tue, Jan 6, 2009 at 4:49 AM, Walter Lee Davis <[email protected]> wrote:
>
> You were on the right track here, but your parentheses slipped off the
> tracks. What's happening is you are double-extending the
> Event.element(event) -- it's already extended -- but then using a
> vanilla DOM accessor to get the parentNode, and in IE, that's not
> being extended.
>
> You could try moving the parenthesis to the end, like this:
>
> var elt = $(Event.element(event).parentNode);
>
> ...but I suspect you could just do:
>
> var elt = Event.element(event).up();
>

This worked fine. Thanks very much for your time. If you're interested
you can view it in action at
http://newhanoian.xemzi.com/venue/category/11/Restaurants#1/11

Tom

--~--~---------~--~----~------------~-------~--~----~
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