Posts by Fabio Cardoso • 138 points
1 post
-
2
votes2
answers810
viewsA: Which jQuery event to use for database query?
You will always have to guess when the user finishes writing. for this we will assume 5 seconds. var typingTimer; var doneTypingInterval = 5000; // 5 segundos $('#busca-cidades').keyup(function(){…