Google Places Autocomplete – Pick first result on Enter key? [duplicate]

I’ve read the many answers of this question, and of the linked questions’ answers so many times, before finding that the best answer is this one (Nota: sadly, it’s not the accepted answer!). I’ve modified 2 or 3 lines to turn it into a ready-to-use function that you can copy/paste in your code and apply … Read more