on click get all <area> elements mouse is within based on coords
<p>I'm using the jquery maphilight plugin and have a large number (hundreds) of overlapping  elements on my image map. I've noticed that when hovering over the image map, maphilight will highlight the first element it finds for those coordinates, so overlapping can become an issue.</p>

<p>I'm looking to be able to click the image map somewhere and have maphilight (or an external function) return me an array of all the  elements not just the first one.</p>

<p>Open to any ideas on how to go about this.</p>

<p><strong>EDIT:</strong> To simplify, when I click a point I'm looking for maphilight to get the area (as it already does), but then add that to an array and continue looking for other areas from the same coordinates. Not just return me the first area it finds and stop.</p>
