I’m using this search bar, but at the moment it only outputs results for the result with the highest match. I’d like to modify it so that it displays all matches in a list. I’ve been trying to edit it for hours with no avail-- I just don’t know enough about javascript to be able to manage it.
There are a number of ways you can achieve the outcome you want, depending on how you want the output to look.
The following replacement of the $(document).on('change', 'input[name=search-box]' related JavaScript creates an unordered list of terms that match the search input.