Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/06/2007, 15:50
ARJSystem
 
Fecha de Ingreso: mayo-2007
Mensajes: 118
Antigüedad: 17 años
Puntos: 0
Re: Duda con formulario

Hola, he metido el codigo que me propuso el forero claudiovega (muchas gracias por cierto), pero en la direccion del href deberia poner a pagina a la que voy a navegar?. Yo pensaba que eso debia ir en el action de la etiqueta form... Os dejo aqui el codigo para ver que si me podeis echar una mano.

Muchas gracias.

Código:
<form action="Buscar.php" method="get">
 <table style="margin:19px 0 15px 16px;">
 <tr><td>Palabra Clave:</td></tr>
 <tr><td><input type="text" name="criterio" style="width:156px; height:20px; margin:4px 0 9px 0;"></td></tr>
 <tr><td>Empresa o Comercio:<br></tr>
 <tr><td><input type="text" name="empresa" style="width:156px; height:20px; margin:4px 0 9px 0;"></td></tr>
 <tr><td>Seleccionar sector:</td></tr>
 <tr><td><select name="sector" style=" margin:4px 0 9px 0; width:156px; height:20px;"><option>---------------------</option>
                   <option>ALIMENTACION</option>
                   <option>AUTOMOVIL</option>
                   <option>CASA Y JARDIN</option>
                   <option>EDUCACION Y FORMACION</option>
                   <option>FINANZAS</option>
                   <option>GESTORIAS</option>
                   <option>HOSTELERIA</option>
                   <option>LOGISTICA</option>
                   <option>MODA Y COMPLEMENTOS</option>
                   <option>OCIO Y TIEMPO LIBRE</option>
	      <option>REFORMAS</option>
	      <option>SALUD Y MEDICINA</option>
              </select></td></tr>
 <tr><td><br style="line-height:9px;">                                                     
 <img alt="" src="images/spacer.gif" width="120" height="1">
 <strong>
 <a href="#" onclick="document.form.submit();">Buscar</a>
 </strong></td></tr>
 </table>
</form>