Is is possible to trigger a link to select a single line inside textarea. If it is, how?
Martti Laine
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A similar problem is described here.
In summary, if you know the starting and ending index (or the starting and ending values):
To retrieve the value of the selected text, I would recommend jquery-fieldselection [http://github.com/localhost/jquery-fieldselection%5D