Monday, 30 May 2011
Web 2.0: IE6 Issues with JSON format
IE6 doesn't accept an extra colon at the end of a JSON file or string. For example, the JSON string below will not work properly on IE because of the last colon after displayError.
On other hand, this will not cause problems on IE7 or IE8 and as you might expect, it will not cause any problems on FF.
{
query : {
" country" : " *"
},
onComplete :doSomething,
onError : displa yError ,
}
Hint:
The error message you get on IE6 is not descriptive at all.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment