jQuery AutoComplete - Result shows encoded characters
问题 I'm using the following code to search an ajax file for a query with the autocomplete plugin: $("input.search_bar").autocomplete("/autocomplete/", { scrollHeight: 300, minChars: 3 }); The search results are HTML encoded names like: Bob's Store (really Bob%39s Store ) Bill's Shop (really Bill%39s Shop ) etc... The autocomplete dropdown shows the correct HTML like so: Bob's Store Bill's Shop But when I select one of the results and the result moves into the input field, the input field displays