Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

get html element under another element

I have a table with some cells. I also have a simple div with position: absolute and with an alpha background and with z-index: 1. So, this div lays on the table. In my code I catch the mousemove event and get the current cell. But with this div on top of the table, I can’t get the underlying cell. Is there some way to get triggered the underlying mousemove event on a cell?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

You basically needs to set the css property pointer-events to none for div

for more info can refer: https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading