How to get a word under cursor using JavaScript?

If I for example have

<p> some long text </p>

on my HTML page, how can I know that cursor of mouse is for example above the word ‘text’?

95 thoughts on “How to get a word under cursor using JavaScript?”

  1. Pingback: canada viagra
  2. Pingback: buy cialis pills
  3. Pingback: cialis pills
  4. Pingback: viagra connect
  5. Pingback: purchase viagra

Leave a Comment