JSON object undefined error solution, json undefined

Source: Internet
Author: User

JSON object undefined error solution, json undefined

When I was using Moodle today, I suddenly found that the "JSON undefined" error message was prompted when I entered the courseware under IE.

Later I found a "json2.js" and introduced it for testing. OK to solve the problem.

Later, I thought it was unreliable. After careful consideration, I found that my IE is in compatible mode.

Switch to the normal mode and deregister the code that references "json2.js.

It is still normal.

Therefore, I guess IE may be for the "compatible" feature in the compatibility mode, so I won't load too many uncertain things (the smallest startup unit), including the JSON parsing function.

The above is all the content of the solution to the undefined JSON object error that xiaobian brings to you. I hope it will be helpful to you and support more customers ~

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.