Discusión: Ie7 Form Target
Ver post
Old 13-Dec-2006, 09:49 AM   #8
renerf
Miembro
Avatar de renerf
Registrado: May-2006
Location: Mexico
Posts: 83
Lightbulb

Ya encontre el error, les explico:

tengo una pagina con frames:
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Documento sin t&iacute;tulo</title>
</head>

<frameset rows="80,*" frameborder="no" border="0" framespacing="0">
  <frame src="arriba.html" name="arriba" scrolling="No" noresize="noresize">
  <frame src="abajo.html" name="abajo">
</frameset>
<noframes><body>
</body>
</noframes></html>
se abre un popup desde el frame inferior "abajo" y este contiene un formulario:
HTML Code:
<form action="" method="post" name="form1" target="abajo">
  <label for="textfield">Nombre</label>
  <input type="text" name="textfield" id="textfield">
  <br>
  <label for="label">correo</label>
  <input type="text" name="textfield2" id="label">
  <br>
   <input type="submit" name="Submit" value="Enviar" id="Submit">
</form>
en teoria al hacer submit debe enviar los datos al frame inferior PERO el error estaba en que faltaba la linea donde cerraba la etiqueta frameset:
HTML Code:
<frameset rows="80,*" frameborder="no" border="0" framespacing="0">
  <frame src="arriba.html" name="arriba" scrolling="No" noresize="noresize">
  <frame src="abajo.html" name="abajo">
</frameset> <!-- esta linea no estaba -->
<noframes><body>
</body>
</noframes>
parece ser que debido a esto no identificaba correctamente los frames.. , pero ya quedo, lo documento aqui solo por si a alguien le sucede lo mismo, ya sabe a que se debe
renerf is offline   Citar y responder