Professional Documents
Culture Documents
Ejercicio 18
Ejercicio 18
<head>
<title>Ejemplo 18</title>
</head>
<body>
<H2>REPASANDO FORMULARIOS</H2>
<legend>Alta de usuario</legend>
</form>
<script type="text/javascript">
var formulario1= document.forms[0];
function mostrarPropiedades(campo) {
alert (datos);
//
mostrarPropiedades(formulario1.nombreUsuario);
mostrarPropiedades(formulario1.clave);
mostrarPropiedades(formulario1.correo);
mostrarPropiedades(formulario1.pais);
</script>
</body>
</html>