Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] remember position in textarea
- From: skyscanner at eircom.net (SkyScanner)
- Subject: [Javascript] remember position in textarea
- Date: Thu Oct 27 05:06:01 2005
MessageAs 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 Borchers To: [JavaScript List] 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?! ------------------------------------------------------------------------------ _______________________________________________ Javascript mailing list Javascript@xxxxxxxxxx https://lists.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20051027/ac21dc05/attachment.html
- References:
- [Javascript] remember position in textarea
- From: Michael Borchers
- [Javascript] remember position in textarea
- Prev by Date: [Javascript] remember position in textarea
- Next by Date: AW: [Javascript] remember position in textarea
- Previous by thread: [Javascript] remember position in textarea
- Next by thread: AW: [Javascript] remember position in textarea
- Index(es):