-
<title>Ejemplo Mensaje en JavaScript</title>
-
-
<script language="javascript">
-
-
function mess( ) {
-
var mensaje = formulario_mensaje.mensajetxt.value;
-
-
alert(mensaje);
-
-
}
-
-
</script>
-
</head>
-
-
-
-
<form name="formulario_mensaje">
-
<input type="text" name="mensajetxt">
-
<input value="ok" type="button" onClick="mess();">
-
-
-
</p>
-
</form>
-
</body>
-
-
</html>
