im using jqueryui autocomplete plugin with following code
$(this).autocomplete({
source: function(request, response) {
$.ajax({ url: 'clinic/auto',
data: { 'term': this.term,'name': this.element.attr('complete')},
dataType: "json",
type: "POST",
success: function(data){
response(data);
}
});
},
minLength: 2
});
This display a list of all results in a dropdown.
my question is how do i get it to autocomplete work for u and highlight the added part for easier use?
do i have to code it ? or there is an already existing option for that?
if i hv to do it manual how can it be done ?
example pic:
Solutions so far:
I have found this link and thisto be very usefull (monkey-patching jquery-autocomplete) to edit styling ,yet still not what i want..