Posts by Ricardo Mendes • 1 point
1 post
-
0
votes4
answers11708
viewsA: How do I call a function by pressing Enter in <input>
using Jquery is very simple HTML <input type="text" id="meuInput" /> Javascript $('#meuInput').keydown(function(e){ if (e.which == 13){ chamaFuncao() // executa o que vc precisar } })…