iam having links as shown below
<a item='1' href='javascript:void(0)'><img class='icon1' /><span>text1</span></a>
<a item='1' href='javascript:void(0)'><img class='icon2' /><span>text2</span></a>
<a item='1' href='javascript:void(0)'><img class='icon3' /><span>text3</span></a>
<a item='1' href='javascript:void(0)'><img class='icon4' /><span>text4</span></a>
$(function(){
$('a').click(_handleClick);
});
function _handleClick(e)
{
var _item=$(e.target).attr('item');
// do something with _item variable
}
// 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.