Spent quite a bit of time investigating an “IE bug”. What happened: a particular AJAX request would work fine in Firefox but nothing would happen in IE6. Obvious steps were to monitor request and response (all fine), JS imports in files (all fine).

The final explanation was quite simple: that particular object (Customer), contained a field called “function”. The JSON string returned by DWR was correctly interpreted by FF but would make IE6 hang. The simple solution: rename the field and beware any other JS keywords.

One response to “DWR, JSON and IE6: beware keywords

Leave a Comment:

Your email address will not be published. Required fields are marked *