<!-- pagina_origen.html --> <HTML> <HEAD> <TITLE> Pagina Origen </TITLE> </HEAD> <BODY> <FORM METHOD=get ACTION="pagina_destino.html" name="formu"> <TABLE> <TR> <TD>Nombre </TD> <TD><INPUT TYPE="text" NAME="nombre"> </TD></TR><TR> <TD>Apellido: </TD> <TD><INPUT TYPE="text" NAME="apell"> </TD></TR><TR> <TD colspan="2"><INPUT TYPE="submit" value="mandar"> </TD></TR> </TABLE> </FORM> </BODY> </HTML> <!-- pagina_destino.html --> <HTML> <HEAD> <TITLE> Pagina destino </TITLE> <SCRIPT LANGUAGE="JavaScript"> <!--function tomarValor() { url = location.href; val = url.indexOf("?"); val = url.substring(val+1,url.length); datos = new Array(); datos = val.split("&") for (x=0;x<datos.length;x++) { document.write(datos[x] + "<BR>") } } //--> </SCRIPT> </HEAD> <BODY BGCOLOR="#FFFFFF" onload="tomarValor()"> </BODY> </HTML>
|