Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I’m not sure what sort of elements the jQuery suggestions generate, but generally speaking, you add an event listener to the suggestion elements. Listen for either onchange or onclick. With jQuery, get the element selected and determine the destination represented by the element’s value. Execute a window.location() method to navigate to that destination.

Viewing 1 replies (of 1 total)

The topic ‘Treat autocomplete suggestions as links’ is closed to new replies.