I am using usemap for set of images
<map name="movemap">
<area shape="rect" coords="0,0,200,200" a href="" onclick="jumps(); return false;">
</map>
I have a set of images which use the map. E.g.,
<img id=1 usemap=#movemap src=abc.gif />
<img id=2 usemap=#movemap src=def.gif />
<img id=3 usemap=#movemap src=xyz.gif />
Now within jumps()
function I need to know which image was clicked. So in the jumps()
onclick function, how can I get id
of the image which was clicked by user.