Skip to content Skip to sidebar Skip to footer

Javascript Click Through Element

There is a semitransparent overlay div covering document which destroys on click, but I need somehow to trigger onlick events of the element beneath overlay at the same time. Is th

Solution 1:

Nick has posted a link to awesome answer on how to get elements by x and y but unfortunately it's a comment so I can't accept it. :(

Solution 2:

If you can find out what is the element given the coordinates, you can always trigger the onclick handler yourself with jQuery using the .click() function.

Post a Comment for "Javascript Click Through Element"