Hi Jörn (and whomever else)

I'm trying to do something a little more complex with the Autocomplete
plugin. I want to return a Spotlight-like result, so I have a multi-
dimensional JSON array being returned, something like this:

{"names":[ list of names here ], "emails":[ list of emails here ]}

Based on this, I want to create a structure using a definition list,
like:

<dl>
<dt>Names</dt>
<dd>Name</dd>
<dd>Name</dd>
etc.

<dt>Emails</dt>
<dd>email</dd>
<dd>email</dd>
etc.

</dl>

I've looked through the documentation and the comments but can't seem
to get it to happen. Could you provide some insight as to going about
parsing the JSON and customizing the output HTML for this?

Thanks in advance!


Reply via email to