<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B>
javascript-bounces@LaTech.edu [mailto:javascript-bounces@LaTech.edu]<B>Im
Auftrag von </B>SkyScanner<BR><B>Gesendet:</B> Donnerstag, 27. Oktober 2005
12:07<BR><B>An:</B> [JavaScript List]<BR><B>Betreff:</B> Re: [Javascript]
remember position in textarea<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>As your cursor moves through the text area, keep
a variable that contains all the text so far. Then when you want to add
text, add it to this variable (variable = front_variable + new +
end_variable), then re-fill the text area from the variable.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Tim in Ireland.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=borchers@tridem.de href="mailto:borchers@tridem.de">Michael
Borchers</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">[JavaScript List]</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, October 27, 2005 10:55
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] remember position
in textarea</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=343055409-27102005><FONT face="Trebuchet MS"><FONT
color=#0000ff><FONT size=2>i<SPAN class=343055409-27102005> have a textarea
and besides some links that will post data into the
textarea.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=343055409-27102005><FONT face="Trebuchet MS"><FONT
color=#0000ff><FONT size=2><SPAN class=343055409-27102005>at the moment the
links post the data at the end of the textarea but i
would</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=343055409-27102005><FONT face="Trebuchet MS"><FONT
color=#0000ff><FONT size=2><SPAN class=343055409-27102005>like it to parse
the data at the place where the cursor stopped in the
textarea.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=343055409-27102005><FONT face="Trebuchet MS"><FONT
color=#0000ff><FONT size=2><SPAN
class=343055409-27102005></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=343055409-27102005><FONT face="Trebuchet MS"><FONT
color=#0000ff><FONT size=2><SPAN
class=343055409-27102005>possible?!</SPAN></FONT></FONT></FONT></SPAN></DIV>
<P>
<HR>
<P></P></BLOCKQUOTE>
<DIV><SPAN class=446194010-27102005><FONT face="Trebuchet MS" color=#0000ff
size=2>is there a modern DOM function for this, something like <STRONG><FONT
color=#000000
size=3>TextRange()?!</FONT></STRONG></FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>