Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/12/2010, 15:24
[email protected]
 
Fecha de Ingreso: octubre-2005
Mensajes: 405
Antigüedad: 18 años, 6 meses
Puntos: 1
enviar formulario de busqueda, con enter

La verdad he intentado hacerlo de diferentes formas y no lo he logrado, al parecer no es mi dia...
Necesito enviar el formulario con la tecla enter, no necesariamente presionando boton buscar.
Quien podria ayudarme adicionandole esta funcionalidad al formulario.

De ante mano gracias.

Código HTML:
<form action="gcstockbod010.php" method="get">
 <table width=85% border=1 cellspacing=0 cellpadding=2 align=center id=linea>
  <tr class="datos">
   <td colspan=2 bgcolor="#00379B" id=linea><span class="Estilo1">B&uacute;squeda de Productos</span></td>
  </tr>
  <tr>
   <td width=40% id=linea>
    <input name="filtro" type="radio" value="1" />Con Foto&nbsp;
    <input name="filtro" type="radio" value="0" />Sin Foto&nbsp;
    <input name="filtro" type="radio" value="2" checked="checked" />Ambos&nbsp;
   </td>
   <td width=65% align=center valign=middle id=linea>
    <input name="elige" type="text" id="elige" value=".:: Codigo o Nombre de Producto ::." size="50" maxlength="40" onfocus="if(this.value !=''){this.value='';};return true;" />&nbsp<input type="submit" name="submit" value="Buscar">
   </td>
  </tr>
 </table>
</form>