I want to focus cursor to specific line. I'm getting line's number whit this code
taid=document.getElementById(element);
line = taid.value.substr(0, taid.selectionStart).split("\n").length;
then I make some proccess. After that I want to focus to "line" number. How can I do it ?
Thank you.