Given a property, how to find to which object the property belongs?

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-05-23T02:22:44Z Indexed on 2010/05/23 2:30 UTC
Read the original article Hit count: 273

Filed under:
|

I've got a few DOM elements, say text-field input A, B, C, and all of them have the property of 'onclick'. How do I find to which object a particular 'onclick' belongs?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about property