I need to simulate a mouse click using IE on a client side image map. Which object should invoke the fireEvent()
? It cannot be simply the <area>
object since it could be referenced by 2 different <img>
s. It cannot be the <img>
since we need a way to tell which part of the img is clicked which is defined in the <area>
tag?
I've done some test with real mouse click on an client side image map. The event object generated from my click indicates (by the event.srcElement
property) the event is generated from <area>
tag. But when I tried to programmatically call the <area>
's fireEvent()
, nothing happened!