well, it returned a list. multiple is for editing a list of autocomplete values, separated by ',' by default. i think you don't need multiple. but since the list is separated by '|', you need to supply a custom parse function. the default separates values by new lines, while '|' separes between value and code on the same row.
On Thu, Sep 10, 2009 at 20:42, DTaylor <dgt...@gmail.com> wrote:
I've got an autocomplete back end that returns multiple results, separated by pipes: http://38.119.36.106/jquery/headerSearch.aspx?q=queens Then on the top of this page I have a search field that uses the autocomplete plugin. http://38.119.36.106/ Try typing in "queens" into the box. It only shows 1 result! Even though the back end returns multiple records for that result. Here's my jQuery code. As you can see, I've told it to suport multiple entries and set a max at 20. var ac = $(".headerSearch").autocomplete("/jquery/HeaderSearch.aspx", { multiple: true, width: 300, minChars: 4, lineSeparator: '|', max: 20, mustMatch: false, scrollHeight: 220 }); Any idea why it's only showing one record in the autocomplete dropdown???
-- alex
smime.p7s
Description: S/MIME Cryptographic Signature