[jQuery] Click through on stacked elements
I'm struggling to figure out a way to click through a series of
stacked elements until I find one with my custom click handler. Is
there an easy way to do this?
For example I have a image of a US map and I want to put a clickable
image behind it. When I click on the place where the image is behind
(placed behind using the z-axis) I want the behind element with the
bound click handler to fire.
So far it doesn't seem to work with the US map image in front of the
clickable element.
If I put the clickable element in front of the map it works.
Is there a way to chain through elements under the mouse and have the
first with a bound click take the event?
If I'm not being clear please let me know so I can explain in a
different way.
Thanks,
ml