Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/09/2008, 08:15
isidroca
 
Fecha de Ingreso: septiembre-2008
Mensajes: 23
Antigüedad: 16 años, 5 meses
Puntos: 0
Respuesta: Contar palabras

<script language="JavaScript">


function reVisar(){
if (document.f.txtc.value!=document.f.txta.value.leng th)
document.f.txtc.value=document.f.txta.value.length ;
setTimeout("reVisar();",200);}
function reVisarNN4(){document.f.txtc.value=document.f.txta .value.length+1}
onload=reVisar

// --></script>

<form name="f">
<textarea name="txta" rows="4" cols="15" wrap="physical" onKeyPress="reVisarNN4"></textarea>
<br>
<input type="text" size="5" name="txtc" readOnly disabled>
</form>