jquery autocomplete select event is not working in jquery 1.4.4 version -


jquery autocomplete select event is not working in jquery 1.4.4 version I need to like, I need to do something about choosing

  // This code is using I $ ("# keyword") Autocomplete ('/ topic / newSearchAjax', {matchSubset: incorrect, select: function (a, b) {$ (this) .val (b.item.value); console.log (this); alert message (value) }});   

If it does not support in 1.4.4 then is there an option to get this functionality?

See this bela if it helps.

JAVASCRIPT:

  $ ("#autocomplete"). Autocomplete ({source: function (req, resp) {$ .post ("/ echo / json /", {json: '[1 "," 2 "," 3 "," 4 "," 5 "]', Delay: 1}, function {resp (data);}, "JSON");}, select: function (event, UI) {warning (ui.item.label); return false;}});   

HTML:

  input id = "auto complete">    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -