Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/05/2012, 02:12
unexes
 
Fecha de Ingreso: enero-2011
Ubicación: España
Mensajes: 222
Antigüedad: 13 años, 3 meses
Puntos: 7
Quitar el botón de un select

Hola a Tod@s.
como puedo hacer para quitar en el siguiente código el Botón BUSCAR y que al seleccionar algo en el select se ejecute sin necesidad del botón.

Código PHP:
Ver original
  1. <form name="auto" method="GET" action="index.php">
  2.  
  3. <select name="Car" id="Car"  style class="Guias2">
  4.     <option value="-1" selected>Seleccionar Car</option>
  5.        
  6. <?php
  7.     $tablacar = mysql_query("SELECT * FROM Car ORDER BY Car1 ASC");
  8.     while ($registrocar = mysql_fetch_array($tablacar)) {
  9. ?>
  10.  
  11. <option value="<?php echo $registrocar['Car5']; ?>"><?php echo $registrocar['Car1']; ?></option>
  12.  
  13. <?php
  14.     }
  15.     mysql_free_result($tablacar);
  16. ?>
  17. </select>
  18.    
  19.              
  20.  
  21.     <input type="submit" name="cmdBuscar" id="cmdBuscar" value="BUSCAR">
  22.  
  23. </form>

Gracias a tod@s.