Enter keyActually, I didn’t think about such features like key events, but now when I have my own website, its topic is very interesting for me.

Today I implemented “Enter” key for submitting a new word at http:www.subhelper.net.

It really great, if you’re translating a lot of words and you need do it quick.

So, here a example:



$(‘#inputText’).on(‘keyup’, function(event){

if(keyCode == 13){ //thirteen is code of Enter key

// submitFunction or other code}