Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/02/2005, 05:47
David224
 
Fecha de Ingreso: octubre-2003
Ubicación: Santander
Mensajes: 236
Antigüedad: 20 años, 6 meses
Puntos: 0
boton de formulario tipo "image" que funcione como "submit"

Hola amigos,

Tengo un botón de formulario tipo "image" que en un script asp me funcionaba correctamente, pero ahora, cuando quiero usar ese mismo botón image para un buscador en php no me funciona. Probé a poner el botón tipo "submit" y sí que va. Pero me gustaría saber si hay alguna manera "transformar" el botón image para que tire bien.

Este es el código del boton image:
Código:
<input name="enviar" id="submit" type="image" src="imagenes/boton_buscador.gif" alt="Buscar" width="25" height="19" border="0">
Y este es el boton submit clásico
Código:
<input name="enviar" type="submit" value="Buscar">