I imagine that would depend on whether the line breaks were hard or soft. If you have hard line breaks, you can split the whole thing based on the \n character, but otherwise no. In order to get the place where the user clicks, you might look into the CreateTextRange function. -----Original Message----- From: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] On Behalf Of dev at qroute.net Sent: Friday, July 16, 2004 7:51 PM To: [JavaScript List] Subject: [Javascript] getting the textarea current line content Say you have a 10 liner textarea. User clicks on line 8, is it possible to get the line 8'th contents in a javascirpt variable ? _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript