Loading ...
Sorry, an error occurred while loading the content.

20359Re: click listener on div not working in IE7 (works in FF)

Expand Messages
  • gpapayia
    Nov 1, 2007
      thanks Adam..

      --- In ydn-javascript@yahoogroups.com, Adam Moore <adamoore@...> wrote:
      > On Fri, Nov 02, 2007 at 01:32:54AM -0000, gpapayia wrote:
      > > I'm trying to add a listener on a div and then check to see which
      > > element is being clicked once the listener gets control. The
      > > following short javascript works in FireFox, but not in IE7. When I
      > > try to run it in IE7 I get a target.tagName is undefined error.
      > George, instead of e.target, use YAHOO.util.Event.getTarget(e).
      > -Adam
    • Show all 3 messages in this topic