Ver Mensaje Individual
  #9 (permalink)  
Antiguo 03/09/2008, 10:47
Avatar de David
David
Moderador
 
Fecha de Ingreso: abril-2005
Ubicación: In this planet
Mensajes: 15.720
Antigüedad: 19 años
Puntos: 839
Exclamación Respuesta: Al hacer click si funciona en IE pero no en Firefox

Es que el código de Legoltaz está mal, lo que está dentro del getElementById debería ir entre comillas.
Código PHP:
<img src='./images/buscar1.jpg' width='57' height='25' border='0' onclick="location.href='index.php?buscar='+document.getElementById('campobuscar').value;" /> 
EDITO: hazle caso a caricatos, mejor usa formulario.
__________________
Por favor, antes de preguntar, revisa la Guía para realizar preguntas.