document.modulo.cod_cliente.value dovrebbe bastare.