I have a image map set up and each area in the image map has a href defined. the href on area contains urls to other pages in my application. i generate a small list (ul, li) which lists down the name attribute of the area tag. i want the dynamically generated ul/lis to imitate click behaviour of area tag. for this, i have the following jquery set up -
$('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 :)