I am trying to redirect the page on the selection of an item on autocomplete. I am using JSON to populate the autocomplete. How can I get it to redirect to a URL with the ID
If I change this, it works.
select: function(event, ui) { location.href="/admin/users/" + ui.item.id + "/edit"; }