Hi,
I found a solution to autocomplete using jquery. Thank you for your reply and support.
the code i am using now is:
title: "xyz", width: 100, dataIndx: "xyz",
filter: {
type: "textarea",
condition: 'equal',
listeners: 'change',
init: function () {
$(this).autocomplete({
source: "userpage1/getresult",
selectItem: { on: true },
highlightText: { on: true },
minLength: 0,
delay: 500,
select: function (event, ui) {
var terms = split(this.value);
terms.pop();
terms.push(ui.item.value);
terms.push("");
this.value = terms.join(", ");
return false;
}
});
}
function split(val) {
return val.split(/,\s*/);
}
The above code is working fine with Firefox browser. but in other browsers like IE and Chrome, the 'change' event is not fired. i tried using tab and clicking on another control without any positive result. Can you please help me to resove this browser difference for this change event.
Thank you.