Ver Mensaje Individual
  #8 (permalink)  
Antiguo 10/02/2010, 14:11
Avatar de mayid
mayid
Colaborador
 
Fecha de Ingreso: marzo-2009
Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años, 1 mes
Puntos: 101
Respuesta: funcion .click()

Si, lo corregi, fijate mas arriba. Igual lo repito:
Cita:
$('form input').keypress(function(e) {
if(e.which == 13) {

}
});
El keypress tiene que comprobar que la tecla sea el 13 (o sea, el enter). De otra manera, cualquier tecla dispara el evento. Comprendes?