Change the line selected in textarea

coldblo0d

New Member
I'm using jquery to display the line beside the textarea.from this link:http://alan.blog-city.com/jquerylinedtextarea.htmIs there any way to change the selected line, so every time the user goes to the next line the line selected changes to the current line.\[code\]$(function() { // Target all classed with ".lined" $(".lined").linedtextarea( { //change it from 1 to the current line that the user on. selectedLine: 1 }); // Target a single one $("#mytextarea").linedtextarea();});\[/code\]
 
Top