Intercept keyboard events (e.g. form submit on enter) - hook already registered events - decide if they should be triggered on enter key event - pass custom callback function which should return boolean value - return 'false' in order not to trigger any events.