Help with AJAX autocomplete and links

Got the autocomplete search from Rails Recipes nicey working with one of
my tables/models, but struggling to work out how (or if) I can have the
options it brings up be links, so clicking on them takes you straight to
the details page for that item rather than it ending up as a field in a
form box. Is that (or something similar) even possible?

Disclaimer: Noob, obviously, on ruby, rails and AJAx, though starting to
feel more confident after PROPERLY reading Agile (first time, skimmed
it).

Thanks
Chris T