4 ms·
You can use getSelection() to do that, but it doesn't work everywhere. [0] [1] [0] https://stackoverflow.com/questions/7563169/detect-which-word-has-been-click
by Adirael 12y ago
You can use getSelection() to do that, but it doesn't work everywhere. [0] [1]
[0] https://stackoverflow.com/questions/7563169/detect-which-word-has-been-clicked-on-within-a-text https://stackoverflow.com/questions/7563169/detect-which-wor...
[1] http://jsfiddle.net/Vap7C/15/ http://jsfiddle.net/Vap7C/15/
- deleted 12y ago[deleted]