I\'m new to js and I would like to know how to capture the first result shown on the autocomplete list when a search button is pressed, this is what I have so far:
js