$('li').click(function(e){
$('area[name='+$(this).html()+']').trigger('click');
});
but the above works well only in ie6+. ff does not fire the click event. i also tried the click() variant but to no avail.
looking forward for some help.
Thanks :)
$('li').click(function(e){
$('area[name='+$(this).html()+']').trigger('click');
});
but the above works well only in ie6+. ff does not fire the click event. i also tried the click() variant but to no avail.
looking forward for some help.
Thanks :)