Want to let you now it's fixed and it works great now under ie7/8. And
want to thank especially MorningZ for your help.
There was one little error in your fix. And I found nice little debug
tool for JSON - http://www.jsonlint.com
After adding the array then imploding in the php code it worked
Hello,
I got this code for search auto suggest and everything works fine in
Firefox, Chrome, Opera etc. But it breaks in internet explorer 7 and
8.
I get this error:
-
Line: 158
Character: 2
Code: 0
Error Message: 'fghds' is null or not an object
URL:
:
-
function DisplayResult(row) {
var output = 'dd id=';
output += 'a href=' + row['link'] + '';
output += 'p';
output += 'b' + row['title'] + '/b';
output += row['summary'];
output += '/p/a/dd';
return output;
}
On Dec 22, 9:53 pm, GJK gerlofva
:46 pm, GJK gerlofva...@gmail.com wrote:
The error was wrong, the good one from internet explorer:
-
Line: 158
Character: 2
Code: 0
Error Message: 'title' is null or not an object
URL:http://localhost.com/js/search.js
And it's coming from
);
});
}
if that doesn't work then you are not passing an object into the
function (perhaps it's a string?)
On Dec 22, 8:35 pm, GJK gerlofva...@gmail.com wrote:
Ok thank you,
Why does this code work in Firefox etc. And not in internet explorer
7/8.
And how to fix this for internet explorer
5 matches
Mail list logo