This website requires JavaScript.
Explore
Help
Sign in
deac
/
jquery
Watch
1
Star
0
Fork
You've already forked jquery
0
Code
Issues
Pull requests
Releases
Wiki
Activity
b920f0aeb4
jquery
/
test
/
data
/
badjson.js
2 lines
9 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Make sure that a parsererror is thrown whenever malformed JSON comes back from a server (so that the Ajax error handler is called). Makes it uniform across browsers that do and don't have JSON.parse support.
2010-01-07 18:21:58 +01:00
{
bad
:
1
}
Reference in a new issue
Copy permalink