Thank you. I eventually copped that I could get access through the event.target statement like you said. From there I was able to hop up and down the element tree and get at the elements I needed.
Hi,
Is it possible to pass the object 'obj' like so and still be able to access the event properties:
this.addEventListener('mousedown', this.doSomething(obj), false);
and in the function 'doSomething', still be able to access the event properties?
for example:
doSomething:function(obj, e){...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.