[jQuery] Select Issue
[jQuery] Select Issue
Hi
I have an autocomplete which displays list of results when i start typing.
My problem is, anytime i click to select an option the selected doesnt settle back
in the textbox as a chosen option.
Simply put the when i select an option nothing happens. Ideally i would like my
selected option to hide the autocomplete list while the selected option sits back
in the textbox.
Here's my peice of code;
$(document).ready(function(){
$("#example").autocomplete("test.php",
{
delay:10,
lineSeparator: "^",
cacheLength: 10,
matchSubset:1,
matchContains:1,
cacheLength:10,
autoFill: false
}).result(function(a,data,c) {
/**TODO:
});;
});
Can anyone spot what i am doing wrong?