I have an AJAX chat, and this is the code for sending messages:
$('#usermsg').keydown(function(e) { var key = e.which; if(key == 13)
I would like someone to press enter more than 3 times in 2 seconds, and on $('#usermsg')
What will be the shortest and best way to do this?
source share