Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/12/2004, 06:53
Avatar de KarlanKas
KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 22 años, 5 meses
Puntos: 61
Déjate de fun_reporte y haz esto:
Código HTML:
<input 
class="bothome" 
type="submit" 
name="Submit" 
value="Buscar" 
onclick="top.mainframe.location.href='reporte_query.php?codigo='+document.forms['menu']['num_pedido'].value"> 
Eso si el name del frame es mainframe.

Pero si te he entendido bien, creo que podría ser mejor:
Código HTML:
<form name="menu" action="reporte_query.php" target="mainframe" method="get">
<input type="text" name="codigo">
<input class="bothome" type="submit" name="Submit" value="Buscar"> 
Dime si te sirvió!
__________________
Cómo escribir

No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.