jquery를 사용하여 텍스트 영역 옆에 선을 표시하고 있습니다. 이 링크에서 : http://alan.blog-city.com/jquerylinedtextarea.htm텍스트 영역에서 선택한 행을 변경하십시오.
그렇게 할 때마다 사용자가 행이 현재 행에 대한 변경을 선택한 다음 행으로 이동,이 선택된 줄을 변경 할 수있는 방법입니다.
$(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();
});
누구나 그것에 대해 생각해 볼 수 있습니다 – user2128334