ajax - Auto Complete Jquery return more than one value -
i have jquery autocomplete function returns text database, , want return more 1 value in ajax, because when return text cant know id column database, , when select result, want receive id, make select id selected or thing, because text aucomplete generates not good.
example:
if digit "br" gonna return "brasil, brasilia, bring..." can't know how id of words database, return brasil 2, brasilia 34, bring 18.. id don't need appear, come text, make when select result single, example make select * country id = 2 or 34 or 18, today return "ui.item.value" returns text have make select * country name '%brasil%' example, not id, did understand?
Comments
Post a Comment