0v1.ro

(zero V unu)

jQuery Custom Autocomplete with two columns

How to create 2 columns autocomplete.

This is a little bit non w3c compilant, but it works fine:)

The ideea is to add two divs inside the results ul and render each result in the proper div

Demo http://jsfiddle.net/ovi_mihai/Ybjq4/7/

For ajax data, please make sure the category ends up in your autocomplete return.

[EDIT] It seems there is a problem with the selection of items this doesn’t work as expected, it only looks good.

3 Comments on “jQuery Custom Autocomplete with two columns

Comments are closed.