Ver Mensaje Individual
  #4 (permalink)  
Antiguo 10/07/2009, 21:56
Avatar de DeveloperFresh
DeveloperFresh
 
Fecha de Ingreso: mayo-2009
Ubicación: Ancon City
Mensajes: 35
Antigüedad: 15 años, 10 meses
Puntos: 3
Respuesta: Capturar la posicion cuando hago click en un textarea

Talvez esto te ayude!

Código HTML:
<html>
<head>
  <title></title>
<script>
function contar(ele){
if(typeof ele.selectionStart != 'undefined')
alert(ele.selectionStart);
}
</script>
</head>
    <body>
<textarea rows="8" cols="30" onclick="contar(this)">Un conjunto de frases</textarea>
</body>
</html>