jueves, 1 de septiembre de 2011

 mostrar de un text

<html>
<head><title>vianeth
</title>
</head>
<body>
<script languaje="javascript">
var mensaje = prompt("digite el elemento");
if(mensaje=="x")
{
window.alert("equiz");
}
if(mensaje="y")
{
window.alert("yes");
}
</script>
</body>
</html>

No hay comentarios:

Publicar un comentario