jquery event get array of objects
Posted
by Anton
on Stack Overflow
See other posts from Stack Overflow
or by Anton
Published on 2010-05-23T16:55:43Z
Indexed on
2010/05/23
17:01 UTC
Read the original article
Hit count: 281
I have few nested DIV elements. For example:
<div id='id1'><div id='id2'>content</div></div>
I attach event to DIVs event handler using jQuery:
$('div').click(function () {
//some code
});
There will be two events when user click on content. So there will be two simultaneous events. Is it possible to get inside event handler array of objects (DIVs) what have click event?
May be it is possible using other framework but jQuery?
© Stack Overflow or respective owner