onEnterKey
Triggers a callback function when the Enter key is pressed inside an input field.
onEnterKey(callback, options)
Parameters:
Usage:
$('#inputField').onEnterKey(function(e){
console.log('Enter key is pressed!');
});Last updated