Finding the textNode which the cursor is currently over

Posted by Ben Shelock on Stack Overflow See other posts from Stack Overflow or by Ben Shelock
Published on 2010-06-08T05:59:39Z Indexed on 2010/06/08 6:02 UTC
Read the original article Hit count: 271

Filed under:
|

Let's say I have the following...

<div id="text">Some text</div>

When my mouse goes over Some, Some will be returned and the same with text.

Is this possible without putting each node into it's own element?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery