Hi, the following code works well in Chrome/FireFox, but error in IE. The error shows the message.
Message: 'name' is null or not an object
I know there are quite a few questions related. But they seem to be different in some way. So, please help. Thanks. (The error is occurred at line 7)
$("#keywords").autocomplete('downloads/get_keywords', {
multiple: true,
parse: function(data) {
return $.map(eval(data), function(row) {
return {
data: row,
value: row.name, // error in here.
result: row.name
};
});
},
formatItem: function(item) {
return format(item);
}
});