works beautifully in firefox and chrome but ie give an error:
"name is null or not an object"
i have posted the line that is failing in IE in bold below.
$("#toemail").autocomplete(emails, {
minChars: 0,
width: 310,
matchContains: true,
autoFill: false,
formatItem: function(row, i, max) {
return i + "/" + max + ": \"" + row.name + "\" [" + row.to + "]";
},
formatMatch: function(row, i, max) {
**return row.name + " " + row.to;**
},
formatResult: function(row) {
return row.to;
}
});
EDIT: i figured it out ... answered below.