[jQuery] How to detect the cursor's relative position in a textarea element???
Hi, folks:
Is there a way in jQuery that I can detect the cursor's relative
position within a textarea element, i.e. the Nth character from the
biginning of the inside texts. I am hoping to insert some text right
behind the cursor's position from some Javascript functions. thanks :)
Best regards,
lihao