Javacript simple enter key press extension for HTMLInputElement["text"] elements