blocco script

--------------------------------------------------------------------------------

<script language=javascript>
parola=window.prompt("inserisci una parola");
for(x=0;x<parola.length;x++)
{
lettera=parola.charAt(x);
if(x%2==0)
document.write(lettera.toUpperCase());
else
document.write(lettera.toLowerCase());
}
</script>

Registrati via email