Posts by Leonardo Delfino • 161 points
1 post
-
6
votes3
answers1220
viewsA: Remove key pressed in an input text
Do so: HTML: <input id="foo" value="banco de dados"> JS: var keydown = function(e) { var $this = $(this); var valor_antigo = $this.val(); $this.off("keydown"); $this.on("keydown", function(){…