handling event bubling in jquery
<p>iam having links as shown below</p>

<pre><code>&lt;a item='1' href='javascript:void(0)'&gt;&lt;img class='icon1' /&gt;&lt;span&gt;text1&lt;/span&gt;&lt;/a&gt;
&lt;a item='1' href='javascript:void(0)'&gt;&lt;img class='icon2' /&gt;&lt;span&gt;text2&lt;/span&gt;&lt;/a&gt;
&lt;a item='1' href='javascript:void(0)'&gt;&lt;img class='icon3' /&gt;&lt;span&gt;text3&lt;/span&gt;&lt;/a&gt;
&lt;a item='1' href='javascript:void(0)'&gt;&lt;img class='icon4' /&gt;&lt;span&gt;text4&lt;/span&gt;&lt;/a&gt;


$(function(){
$('a').click(_handleClick);
});

function _handleClick(e)
{
var _item=$(e.target).attr('item');
// do something with _item variable
}
</code></pre>

<p>// now my problem is when user clicks on image 'e' received in _handleClick is image so i can't read attr='item' so how can bubble the event to read that value.</p>
