[Javascript] remember position in textarea

SkyScanner skyscanner at eircom.net
Thu Oct 27 05:06:36 CDT 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 at LaTech.edu
  https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20051027/ac21dc05/attachment.htm>


More information about the Javascript mailing list