Re: OT: Seleccionar texto
| From: | Jaime A. Chavarriaga L. | Date: | Thu, 28 Feb 2002 19:18:49 +0000 |
| Subject: | Re: OT: Seleccionar texto | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-19829@lists.php.net to get a copy of this message | ||
Xavi
> ¿Alguien sabe si hay alguna manera en Javascript
> que te devuelva el texto seleccionado con el raton
> en un textarea?
bueno... para ver lo seleccionado de un documento es...
var str = document.selection.createRange().text
8-)
jaime