Make jquery autocomplete not to fill the input value with the label of selected item -


is there way make jquery autocomplete plugin respond "select" callback, not fill target input label value of selected item after user selection?

i trying still no success, waiting help...

regards. larry

demo on js fiddle

$('#ac').autocomplete({     source : ["hello", "how", "do", "you", "do"],     select: function(event, ui){         settimeout(function (){           $('#ac').val('');             }, 1000)     } }) 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -