Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: [Javascript] remember position in textarea
- From: borchers at tridem.de (Michael Borchers)
- Subject: AW: [Javascript] remember position in textarea
- Date: Thu Oct 27 05:39:22 2005
-----Urspr?ngliche Nachricht----- Von: javascript-bounces@xxxxxxxxxx [mailto:javascript-bounces@xxxxxxxxxx]Im Auftrag von SkyScanner Gesendet: Donnerstag, 27. Oktober 2005 12:07 An: [JavaScript List] Betreff: Re: [Javascript] remember position in textarea 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. Tim in Ireland. ----- Original Message ----- From: Michael <mailto:borchers@xxxxxxxxx> Borchers To: [JavaScript List] <mailto:javascript@xxxxxxxxxx> Sent: Thursday, October 27, 2005 10:55 AM Subject: [Javascript] remember position in textarea i have a textarea and besides some links that will post data into the textarea. at the moment the links post the data at the end of the textarea but i would like it to parse the data at the place where the cursor stopped in the textarea. possible?! _____ is there a modern DOM function for this, something like TextRange()?! -------------- n?chster Teil -------------- Ein Dateianhang mit HTML-Daten wurde abgetrennt... URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20051027/c2e39561/attachment.html
- Prev by Date: [Javascript] remember position in textarea
- Next by Date: [Javascript] AJAX mailing list
- Previous by thread: [Javascript] remember position in textarea
- Next by thread: [Javascript] AJAX mailing list
- Index(es):