What are common Ajax problems?

Source: Internet
Author: User

1. js script cache Problems

A: This is one of the most common problems you have encountered, because when you modify the js content for debugging
The result of the newly written code cannot be displayed because the current page uses cache persistence to accelerate page execution.
The same connection currently called. To facilitate debugging during development, you can add a random function after the connection address.

For example, the original address: Add random header. js in header. js? 12581

2. Local debugging of js scripts does not work

A: Because head support is required when parameters are passed Using ajax, we can only use it under the site.
Successful. For example, we put it under Apache or IIS for debugging.

3. Difficult to troubleshoot code

A: This is a long-standing issue in js debugging. to simplify it, you can use the default error box prompted by ie.
Yes. We can use the error correction provided by DW CS4, or use professional plug-ins such as firbug.

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.