;function getCurrentLineInTextarea(tarea){ ;selEnd = tarea.selectionEnd ;txtLen = tarea.value.length ;txtbefore = tarea.value.substring(0,selEnd) ;linearray = new Array() ;linearray = txtbefore.split("\n") ;current_line = linearray.length ;current_char = linearray[(linearray.length - 1)].length ;return current_line ;}
Session-Cookies