Modify ↓
Ticket #6031 (closed bug: fixed)
parseJSON doesn't parse JSON with a leading newline in IE6 and IE7
| Reported by: | samuelcole | Owned by: | john |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4.2 |
| Component: | core | Version: | 1.4.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
jQuery 1.3.2's method of parsing JSON was forgiving of leading newlines in IE, but jQuery 1.4 throws an error.
I did a reduction here: http://jsfiddle.net/bwLN6/.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

in JQuery 1.4 parsing on JSON changed. More here http://www.neeraj.name/blog/articles/895-handling-json-parsing-natively-in-jquery-1-4-and-what-changed-from-jquery-1-3