Ver originalfunction algo(event){ var e = window.event || event; if(e.keyCode==13){ document.getElementById('formulario').submit(); } }