(send: that is to emulate typing these keys as user would normally do it)
I know this metod element.value = element.value, but I think it might be slow for textareas that have huge amount of data in them, like wikis etc.
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.
Check this SO question: Javascript: Move caret to last character