I have a input field with some text ( text length is 10 characters ). I want to get the cursor position where the user has tapped/clicked.
Suppose if user has tapped/clicked at 2 charcter then i want to get the position as 2.
Can anyone help me in achieving this with javascript/secnha/jquery?
Thanks in advance