hi,

i did some test/demos to play with autocomplete plugin.

        http://kilp.net/test/autocomplete/autocomplete-demo.html

i want a kind of highlighted searchresult. for that reason my php script 
(sever-side) generates data that looks like

<htmlcode> | <plaintext> | id1 \n
<htmlcode> | <plaintext> | id1 \n
...

i want the second item of the row to be returend as selected value from the 
list, so i tried to make it in this way..

 formatResult: function(row) {
   return row[1];
   },

but it always returns the first item (htmlcode) when i select one item from the 
list. 

What am i doing wrong?

thanks
stefan

--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-----------------------------------------------------

Reply via email to