DIGIT-ARC read-only archive · snapshot: July 23, 2026

Javascript text under mouse

2 posts · originally from https://geek.digit.in/community/threads/javascript-text-under-mouse.98446/

R
RandomNumber Original post #1
Sep 25, 2008 at 11:25 PM
Is there anyway in javascript I can get the text under the mouse cursor, or atleast the element under the cursor?
I've done all the googling I could to no avail.
victor_rambo
Sep 26, 2008 at 10:10 AM
*www.w3schools.com/js/tryit.asp?filename=try_dom_event_srcelement

Instead of mouseclick event, use the mouse over event!