Tema: emails
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/05/2006, 14:00
Avatar de Mirovita
Mirovita
 
Fecha de Ingreso: febrero-2005
Ubicación: Caracas-Venezuela
Mensajes: 840
Antigüedad: 20 años
Puntos: 10
emails

Podria alguien ver este codigo y decirme q esta mal. trato de q cuando le doy link en la segunda pag s eme guarde la dir de correo en el input de la primera pagina...

email1.php
Código HTML:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>


<a href="emails.php">correos</a><br>
<input id="email" type="text" >
</body>
</html> 

emails.php
Código HTML:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<script type="text/javascript">
funcion fun (v)
{
opener.document.getElementById("email").value=v;
window.close();
}
</script>

<a href="javascript:" onClick="fun(innerHTML)">[email protected]</a>

</body>
</html> 
gracias

besos a todos
__________________
.-._.-. [email protected]._.-.