![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
28/03/2008, 16:39
|
| | Fecha de Ingreso: febrero-2008
Mensajes: 88
Antigüedad: 17 años Puntos: 1 | |
Re: el prompt() y el alert() - AYUDA Hola, Mira este ejemplillo a ver si te vale
salu2
<html>
<title> BASE </title>
<head>
</head>
<body>
<SCRIPT LANGUAGE="JavaScript">
// PROG002.HTM
var nom;
nom=prompt("Escribe tu nombre ","Paco");
alert("Mucho gusto "+ nom);
</SCRIPT>
</body>
</html> |