ciao a tutti! ho un problemone...

ho trovato un piccolo script antispam per gb. Alla pressione di un tasto nei campi si incrementa una variabile e dato che i bot fanno solo copia incolla x loro rimane 0.

però.. con IE non funziona!!! come mai?

GRAZIE MILLE PER UNA RISPOSTA!

codice:
//CONTA I TASTI PREMUTI PER EVITARE CHE SIA UN BOT A SCRIVERE
kd= 0;
ka= 0;
function cf() {
kd++;
document.forms["modulo"].contaparole.value= kd;
} 
function ca() {
ka++;
document.forms["modulo"].contaautore.value= ka;
}


E POI
<input type="text" name="nick" OnKeyUp="ca()" size="30" maxlength="40">
<textarea style="height:180px; width:300px" name="testo" id="testo" OnKeyUp="cf()"></textarea>


<input type="hidden" name="contaparole" value="0">
<input type="hidden" name="contaautore" value="0">