Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/04/2010, 06:21
Avatar de PacoRuiz
PacoRuiz
 
Fecha de Ingreso: abril-2009
Mensajes: 254
Antigüedad: 15 años, 10 meses
Puntos: 3
pasar parámetros con el get

Hola, he hecho este código:

formulario1.html
Código:
<html>
<FORM action="javascript2.html" method="GET">

    
              nombre<INPUT type="text" id="nombre"><BR>
    
              apellido1<INPUT type="text" id="apellido1"><BR>

              apellido2<INPUT type="text" id="apellido2"><BR>
    
              nota1<INPUT type="text" id="nota1"><BR>

              nota2<INPUT type="text" id="nota2"><BR>

              nota3<INPUT type="text" id="nota3"><BR>
<INPUT type="submit" value="Enviar">
 
</FORM> 
</html>
javascript2.html

Código:
<html> 
	<head> 
		
	</head> 

	<body> 
		<script language="javascript">	
		
		document.write(location href);
		</script>
	</body> 
</html>
Cuando abre javascript2.html, en la barra de direcciones no aparecen los datos del formulario, sino solamente la ruta del fichero