Is it real to get a word under cursor in textarea/input using hover/mousemove event?
Or at least get caret position?
Is it real to get a word under cursor in textarea/input using hover/mousemove event?
Or at least get caret position?
You can't know the word under your cursor, but you can totally get the cursor position in a input field.
This question has been clearly answered by Bezmax.
Hope it will help you.
It is generally called as tooltip. If you're already using bootstrap framework then here the link for how to use it click here.If you're not using any frontend frameworks you can do this with simple javascript library click here