Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/09/2006, 07:45
Avatar de ZiTAL
ZiTAL
 
Fecha de Ingreso: marzo-2004
Ubicación: Bermio (Bizkaia)
Mensajes: 1.545
Antigüedad: 21 años
Puntos: 62
para firefox seria:

Código HTML:
<html>
<head>
<script type="text/javascript">
 function IkusZemat(hau)
  {
   var Start=hau.selectionStart;
   var End=hau.selectionEnd;
   var total=parseInt(End)-parseInt(Start);
   alert(total);
  }
</script>
</head>
<body>
<input type="text" name="texto" onBlur="IkusZemat(this)"/>
</body>
</html> 
ahora, para otros navegadores no lo se.

suerte y postea si consigues el script para que funcione para otros navegadores.
__________________
http://zital.no-ip.org
____________________

Euskerie ahuen eta bijotzan