Ticket #6820 (closed bug: invalid)
$.ajax/$.getJSON fails (w/ error on line 4075) in IE8
|Reported by:||ben.mosher||Owned by:|
Attached is an oversimplification of an application I'm writing to edit a database table. Much of the data that is ferried back and forth between the client and the server is in JSON form.
The initial page load requests a JSON object (normally generated dynamically--attached as setup.json) that includes an HTML table that represents the initial state of the editor. This loads all well and good in Firefox (3.6.6) and Opera (10.60), but in IE8 (under every different compatibility mode I could muster up), it fails out on line 4075 of the jQuery development 1.4.2 source.
Original code uses $.getJSON with an anonymous callback, but the test case defines the callback separately and includes a commented-out $.ajax call (which also fails in IE8, same error).
Not sure what to do here. Found some similar tickets, but with horrific, long, convoluted test cases. Did my best to keep it simple for this one. Apologies that the "form" property of the JSON is rather long, but that could be part of the problem. (Verified with jsonlint.com, too.)