jquery autocomplete not working in ie
autocomplete, internet-explorer, jquery
Solution
i figured it out it was an extra comma at the end of the last item in the list in the JSON. looks like FF doesn't care but IE did.
Problem
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.