Hello!
This code checks if the user has pressed Enter
$('#text').keydown(function(event) { if (event.keyCode == 13) { alert('ВЫ НАЖАЛИ ENTER'); } });
And how to write a condition that works if the user pressed Enter
twice in a row? (and when once is another condition?)
Thank you very much!