![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/09/2013, 09:32
|
![Avatar de murdoc92](http://static.forosdelweb.com/customavatars/avatar462903_1.gif) | | | Fecha de Ingreso: mayo-2012 Ubicación: Santiago
Mensajes: 58
Antigüedad: 12 años, 9 meses Puntos: 3 | |
Respuesta: Ejecutar evento presionando enter en formulario $('#_txtNombre').bind('keyup', function (e) {
var key = e.keyCode || e.which;
if (key === 13) {
getUsersDirectory();
};
});
Agrega ese script (necesitas jquery) y coloca el ClientIDMode es static en el texbox |