f



textarea: get text left and right from selected text

Hello everybody,

I am looking for a method to get the text on the left and the right
side if a user selects some text in a textarea.

Regards Mario

0
mm (1)
8/23/2006 7:31:43 PM
comp.lang.javascript 38370 articles. 2 followers. javascript4 (1315) is leader. Post Follow

2 Replies
885 Views

Similar Articles

[PageSpeed] 38

*** mariomueller escribi�/wrote (23 Aug 2006 12:31:43 -0700):
> I am looking for a method to get the text on the left and the right
> side if a user selects some text in a textarea.

This article may help:

http://www.quirksmode.org/js/selected.html



-- 
-+ http://alvaro.es - �lvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programaci�n web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
0
Alvaro
8/23/2006 9:39:01 PM
Hi Alvaro,

unfortunately not!

Regards Mario




Alvaro G. Vicario schrieb:

> *** mariomueller escribi=F3/wrote (23 Aug 2006 12:31:43 -0700):
> > I am looking for a method to get the text on the left and the right
> > side if a user selects some text in a textarea.
>
> This article may help:
>
> http://www.quirksmode.org/js/selected.html
>
>
>
> --
> -+ http://alvaro.es - =C1lvaro G. Vicario - Burgos, Spain
> ++ Mi sitio sobre programaci=F3n web: http://bits.demogracia.com
> +- Mi web de humor con rayos UVA: http://www.demogracia.com
> --

0
mariomueller
8/24/2006 4:49:02 AM
Reply: